[uClibc-cvs] uClibc/test Config,1.4,1.5 Rules.mak,1.21,1.22

Erik Andersen andersen at codepoet.org
Mon Feb 10 20:28:16 UTC 2003


Update of /var/cvs/uClibc/test
In directory winder:/tmp/cvs-serv15169

Modified Files:
	Config Rules.mak 
Log Message:
A few minor little changes


Index: Config
===================================================================
RCS file: /var/cvs/uClibc/test/Config,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -d -r1.4 -r1.5
--- Config	23 Jan 2003 16:27:57 -0000	1.4
+++ Config	10 Feb 2003 20:28:12 -0000	1.5
@@ -1,7 +1,7 @@
 # Configuration for uClibc test apps.
 
 # Set the following to `true' to make a debuggable build.
-DODEBUG = false
+DODEBUG = true
 
 # If you want to compile using uClibc as a shared library, turn this on.
 DODYNAMIC = true

Index: Rules.mak
===================================================================
RCS file: /var/cvs/uClibc/test/Rules.mak,v
retrieving revision 1.21
retrieving revision 1.22
diff -u -d -r1.21 -r1.22
--- Rules.mak	23 Jan 2003 16:27:57 -0000	1.21
+++ Rules.mak	10 Feb 2003 20:28:12 -0000	1.22
@@ -62,20 +62,21 @@
 # use '-Os' optimization if available, else use -O2, allow Config to override
 OPTIMIZATION+=$(call check_gcc,-Os,-O2)
 # Override optimization settings when debugging
-ifeq ($(DODEBUG),y)
+ifeq ($(DODEBUG),true)
 OPTIMIZATION=-O0
 endif
 
-XWARNINGS=$(subst ",, $(strip $(WARNINGS))) -Wstrict-prototypes -Wno-trigraphs -fno-strict-aliasing
+XWARNINGS=$(subst ",, $(strip $(WARNINGS))) -Wstrict-prototypes
 XARCH_CFLAGS=$(subst ",, $(strip $(ARCH_CFLAGS)))
-CFLAGS=$(XWARNINGS) $(OPTIMIZATION) $(XARCH_CFLAGS)
+CFLAGS=--uclibc-use-build-dir $(XWARNINGS) $(OPTIMIZATION) $(XARCH_CFLAGS)
 GLIBC_CFLAGS+=$(XWARNINGS) $(OPTIMIZATION)
+LDFLAGS=--uclibc-use-build-dir
 
 ifeq ($(DODEBUG),true)
     CFLAGS+=-g
     GLIBC_CFLAGS+=-g
-    LDFLAGS =-Wl,-warn-common
-    GLIBC_LDFLAGS =-Wl,-warn-common 
+    LDFLAGS = -g -Wl,-warn-common
+    GLIBC_LDFLAGS =-g -Wl,-warn-common 
     STRIPTOOL =true -Since_we_are_debugging
 else
     LDFLAGS  =-s -Wl,-warn-common
@@ -87,5 +88,3 @@
     LDFLAGS +=-static
     GLIBC_LDFLAGS +=-static
 endif
-CFLAGS+=--uclibc-use-build-dir
-LDFLAGS+=--uclibc-use-build-dir




More information about the uClibc-cvs mailing list