summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRoland McGrath <roland@gnu.org>2001-06-16 02:13:15 +0000
committerRoland McGrath <roland@gnu.org>2001-06-16 02:13:15 +0000
commit2283081f91cd0cb7727cf64ce3516b46f7b241e5 (patch)
tree8d6db4e31106a55f57caab643bf26bba19b8494f
parentb45571bc3a7ae8bf263bdab1b2cefc858b93670f (diff)
2001-06-15 Roland McGrath <roland@frob.com>
* Makeconf (CPPFLAGS, CFLAGS): Append to these before we include the config.make file.
-rw-r--r--Makeconf8
1 files changed, 6 insertions, 2 deletions
diff --git a/Makeconf b/Makeconf
index f7f74be7..bfc0f40b 100644
--- a/Makeconf
+++ b/Makeconf
@@ -55,6 +55,12 @@ top_srcdir = ..
endif
endif
+# Generic compiler options, appended to whatever the particular makefile set.
+# The config.make file will append the values chosed by configure.
+CPPFLAGS += -I. $(srcdirinc) -I.. $(top_srcdirinc) -I$(top_srcdir)/include \
+ -D_GNU_SOURCE $($*-CPPFLAGS)
+CFLAGS += -Wall -g -O3
+
# Include the configure-generated file of parameters.
# This sets up variables for build tools and installation directories.
include $(..)config.make
@@ -79,8 +85,6 @@ top_srcdirinc=
else
top_srcdirinc=-I$(top_srcdir)
endif
-CPPFLAGS += -I. $(srcdirinc) -I.. $(top_srcdirinc) -I$(top_srcdir)/include -D_GNU_SOURCE $($*-CPPFLAGS)
-CFLAGS += -Wall -g -O3
# More useful version of HURDLIBS
library_deps=$(foreach lib,$(HURDLIBS),$(..)lib$(lib)/lib$(lib).so)