diff options
author | Waldemar Brodkorb <wbx@openadk.org> | 2011-01-22 22:37:50 +0100 |
---|---|---|
committer | Waldemar Brodkorb <wbx@openadk.org> | 2011-01-22 22:37:50 +0100 |
commit | 9436a026e2e23d207fbdcb9e8bc9b076e3573700 (patch) | |
tree | adb1937bc90be8869a5f7c9636da84773414eb3b /package/maradns/patches/patch-Makefile | |
parent | 52b1b0100c53b1f8699955df618fcb47744e0a7e (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-Makefile')
-rw-r--r-- | package/maradns/patches/patch-Makefile | 22 |
1 files changed, 11 insertions, 11 deletions
diff --git a/package/maradns/patches/patch-Makefile b/package/maradns/patches/patch-Makefile index d1fc651c4..c06bf9a64 100644 --- a/package/maradns/patches/patch-Makefile +++ b/package/maradns/patches/patch-Makefile @@ -1,12 +1,12 @@ ---- maradns-1.4.03.orig/Makefile 2006-01-02 17:59:33.000000000 +0100 -+++ maradns-1.4.03/Makefile 2010-02-06 00:19:48.471836901 +0100 +--- maradns-1.4.05.orig/Makefile 2006-01-02 17:59:33.000000000 +0100 ++++ maradns-1.4.05/Makefile 2011-01-21 16:48:06.124913980 +0100 @@ -1,15 +1,82 @@ -# This is a wrapper that runs "./configure ; make" -all: - ./compile.sh -+VERSION=1.4.03 -+COMPILED="Linux system at Sat Feb 6 00:19:48 CET 2010" -+COMPILED_DEBUG="Linux system at Sat Feb 6 00:19:48 CET 2010 (Debug)" ++VERSION=1.4.05 ++COMPILED="Linux system at Fri Jan 21 16:48:06 CET 2011" ++COMPILED_DEBUG="Linux system at Fri Jan 21 16:48:06 CET 2011 (Debug)" +# Server objects +SOBJECTS=server/MaraBigHash.o +# js_string library (buffer overflow resistant string library) objects @@ -34,23 +34,23 @@ +# LDFLAGS=-L/usr/ucblib -lucb -lxnet +# end the Solaris section +# Non-Solaris version of "M" -+V="VERSION=$(VERSION)" ++VER="VERSION=$(VERSION)" +Q="DEFINES=-DSELECT_PROBLEM" + +# Debug + -+FLAGS = -O2 -Wall -DSELECT_PROBLEM -+M="CC=$(CC) $(FLAGS)" -+D="CC=$(CC) $(FLAGS) -DDEBUG -DTHREADS" ++CFLAGS ?= -O2 -Wall -DSELECT_PROBLEM ++M="CC=$(CC)" ++D="CC=$(CC) -DDEBUG -DTHREADS" +#FLAGS = -g + +all: + cd libs ; make $(M) ; cd ../dns ; make $(M) ; \ + cd ../rng ; make $(M) ; cd ../parse ; make $(M) ; \ + cd ../qual ; make $(M) ; cd ../server ; \ -+ make $(M) $(V) COMPILED=\"$(COMPILED)\" ; \ ++ make $(M) $(VER) COMPILED=\"$(COMPILED)\" ; \ + cd ../tools ; make $(M) ; \ -+ cd ../tcp ; make $(M) $(V) ; cat ../00README.FIRST ++ cd ../tcp ; make $(M) $(VER) + +debug: + cd libs ; make $(D) DEBUG="-DDEBUG -DTHREADS" ; \ |