summaryrefslogtreecommitdiff
path: root/package/maradns/patches/patch-libs_Makefile
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openadk.org>2011-01-22 22:37:50 +0100
committerWaldemar Brodkorb <wbx@openadk.org>2011-01-22 22:37:50 +0100
commit9436a026e2e23d207fbdcb9e8bc9b076e3573700 (patch)
treeadb1937bc90be8869a5f7c9636da84773414eb3b /package/maradns/patches/patch-libs_Makefile
parent52b1b0100c53b1f8699955df618fcb47744e0a7e (diff)
activate GCC cflags check, cleanup FLAGS stuff in OpenADK.
* remove TCFLAGS/TLDFLAGS/TCPPFLAGS and only use TARGET_CFLAGS/TARGET_LDFLAGS/TARGET_CPPFLAGS, ... * activate GCC_HONOUR_COPTS and fix all packages to honour CFLAGS * use CC_FOR_BUILD, CFLAGS_FOR_BUILD, ... for all build compilation, remove HOST* variants * introduce KERNEL_MODULE_FLAGS for external kernel modules * mark rpm package as broken, mark syslinux for native builds only, mark libhugetlb for eglibc/glibc only usage
Diffstat (limited to 'package/maradns/patches/patch-libs_Makefile')
-rw-r--r--package/maradns/patches/patch-libs_Makefile31
1 files changed, 31 insertions, 0 deletions
diff --git a/package/maradns/patches/patch-libs_Makefile b/package/maradns/patches/patch-libs_Makefile
new file mode 100644
index 000000000..4c8ec3255
--- /dev/null
+++ b/package/maradns/patches/patch-libs_Makefile
@@ -0,0 +1,31 @@
+--- maradns-1.4.05.orig/libs/Makefile 2006-01-02 17:59:33.000000000 +0100
++++ maradns-1.4.05/libs/Makefile 2011-01-21 16:46:50.568579851 +0100
+@@ -9,22 +9,22 @@ clean:
+ rm -f core $(OBJECTS) tests mtest *.exe
+
+ MaraHash.o: JsStr.h MaraHash.c
+- $(CC) -c $(FLAGS) -o MaraHash.o MaraHash.c
++ $(CC) -c $(CFLAGS) -o MaraHash.o MaraHash.c
+
+ JsStr.o: JsStr.h JsStr.c
+- $(CC) -c $(FLAGS) -o JsStr.o JsStr.c
++ $(CC) -c $(CFLAGS) -o JsStr.o JsStr.c
+
+ JsStrOS.o: JsStr.h JsStrOS.c
+- $(CC) -c $(FLAGS) -o JsStrOS.o JsStrOS.c
++ $(CC) -c $(CFLAGS) -o JsStrOS.o JsStrOS.c
+
+ JsStrCP.o: JsStr.h JsStrCP.c
+- $(CC) -c $(FLAGS) -o JsStrCP.o JsStrCP.c
++ $(CC) -c $(CFLAGS) -o JsStrCP.o JsStrCP.c
+
+ mtest: mtest.c $(OBJECTS)
+- $(CC) $(FLAGS) -o mtest mtest.c $(OBJECTS)
++ $(CC) $(CFLAGS) $(LDFLAGS) -o mtest mtest.c $(OBJECTS)
+
+ tests: tests.c $(OBJECTS)
+- $(CC) $(FLAGS) -o tests tests.c $(OBJECTS)
++ $(CC) $(CFLAGS) $(LDFLAGS) -o tests tests.c $(OBJECTS)
+
+ #onetime: $(OBJECTS) kiwi.h config.h onetime.c do_scramble.o cryptdate.o
+ # $(CC) $(FLAGS) -o onetime onetime.c do_scramble.o cryptdate.o