From 2283081f91cd0cb7727cf64ce3516b46f7b241e5 Mon Sep 17 00:00:00 2001 From: Roland McGrath Date: Sat, 16 Jun 2001 02:13:15 +0000 Subject: 2001-06-15 Roland McGrath * Makeconf (CPPFLAGS, CFLAGS): Append to these before we include the config.make file. --- Makeconf | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) (limited to 'Makeconf') 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) -- cgit v1.2.3