summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ChangeLog4
-rw-r--r--Makeconf3
2 files changed, 6 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index 97d1612f..84ebeda8 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+2007-06-14 Thomas Schwinge <tschwinge@gnu.org>
+
+ * Makeconf (CFLAGS): Allow for appending target-specific flags.
+
2007-04-07 Thomas Schwinge <tschwinge@gnu.org>
* INSTALL-cross: Link to the `cross-gnu' script.
diff --git a/Makeconf b/Makeconf
index cc3d48ab..ae8f3779 100644
--- a/Makeconf
+++ b/Makeconf
@@ -65,7 +65,8 @@ INCLUDES += -I$(..)include -I$(top_srcdir)/include
CPPFLAGS += $(INCLUDES) \
-D_GNU_SOURCE -D_IO_MTSAFE_IO -D_FILE_OFFSET_BITS=64 \
$($*-CPPFLAGS)
-CFLAGS += -std=gnu99 -Wall -g -O3
+CFLAGS += -std=gnu99 -Wall -g -O3 \
+ $($*-CFLAGS)
# Include the configure-generated file of parameters.
# This sets up variables for build tools and installation directories.