forked from pld-linux/java-libdbus
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathjava-libdbus-make.patch
More file actions
23 lines (22 loc) · 865 Bytes
/
Copy pathjava-libdbus-make.patch
File metadata and controls
23 lines (22 loc) · 865 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
--- libdbus-java-1.12/Makefile.orig 2006-11-21 15:42:35.000000000 +0100
+++ libdbus-java-1.12/Makefile 2006-12-01 19:30:38.610535000 +0100
@@ -14,9 +14,9 @@
JAVADOC?=javadoc
JAR?=jar
INCLUDES?=`pkg-config --cflags dbus-1` -I${JAVA_HOME}/include -I${JAVA_HOME}/include/linux
-CFLAGS?= -Os -Wall -Werror -pedantic -std=c99
-CFLAGS+=$(INCLUDES)
-CFLAGS+=$(call cc-option,-fno-stack-protector,)
+CFLAGS?= -Os
+override CFLAGS+= -Wall -Werror -pedantic -std=c99 $(INCLUDES)
+override CFLAGS+=$(call cc-option,-fno-stack-protector,)
LIBS?=`pkg-config --libs dbus-1`
CC?=gcc
LD?=ld
@@ -94,7 +94,6 @@
libdbus-java.so: dbus-java.o
$(LD) $(LDFLAGS) -fpic -shared -o $@ $^ $(LIBS)
- $(STRIP) $@
libdbus-java-$(VERSION).jar: .classes
(cd classes; $(JAR) -cf ../$@ org/freedesktop/dbus/*.class org/freedesktop/*.class)
dbus-java-test-$(VERSION).jar: .testclasses