summaryrefslogtreecommitdiff
path: root/libiberty
diff options
context:
space:
mode:
authorbonzini <bonzini@138bc75d-0d04-0410-961f-82ee72b054a4>2008-10-15 12:40:05 +0000
committerbonzini <bonzini@138bc75d-0d04-0410-961f-82ee72b054a4>2008-10-15 12:40:05 +0000
commit0a0ac3ab0c27ecad4ab988baacdc4a03c2944232 (patch)
tree2797a94ea0ff0e750349976da62b8d12b428c0d9 /libiberty
parent0d87fcd2cd4825bd45150e83f9b34708946186f0 (diff)
downloadgcc-0a0ac3ab0c27ecad4ab988baacdc4a03c2944232.tar.gz
2008-10-15 Paolo Bonzini <bonzini@gnu.org>
PR bootstrap/37717 * Makefile.in (LIBCFLAGS): Remove. (FLAGS_TO_PASS): Don't mention it. (COMPILE.c, MULTIOSDIR): Replace it with CFLAGS. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@141135 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'libiberty')
-rw-r--r--libiberty/ChangeLog7
-rw-r--r--libiberty/Makefile.in8
2 files changed, 10 insertions, 5 deletions
diff --git a/libiberty/ChangeLog b/libiberty/ChangeLog
index 955e55003dd..4747766455d 100644
--- a/libiberty/ChangeLog
+++ b/libiberty/ChangeLog
@@ -1,3 +1,10 @@
+2008-10-15 Paolo Bonzini <bonzini@gnu.org>
+
+ PR bootstrap/37717
+ * Makefile.in (LIBCFLAGS): Remove.
+ (FLAGS_TO_PASS): Don't mention it.
+ (COMPILE.c, MULTIOSDIR): Replace it with CFLAGS.
+
2008-10-08 David Edelsohn <edelsohn@gnu.org>
* xstrdup.c: Include <sys/types.h> after "config.h"
diff --git a/libiberty/Makefile.in b/libiberty/Makefile.in
index e18aff75363..aa8626d5c00 100644
--- a/libiberty/Makefile.in
+++ b/libiberty/Makefile.in
@@ -55,7 +55,6 @@ AR_FLAGS = rc
CC = @CC@
CFLAGS = @CFLAGS@
-LIBCFLAGS = $(CFLAGS)
RANLIB = @RANLIB@
MAKEINFO = @MAKEINFO@
PERL = @PERL@
@@ -80,7 +79,6 @@ FLAGS_TO_PASS = \
"CC=$(CC)" \
"CFLAGS=$(CFLAGS)" \
"DESTDIR=$(DESTDIR)" \
- "LIBCFLAGS=$(LIBCFLAGS)" \
"EXTRA_OFILES=$(EXTRA_OFILES)" \
"HDEFINES=$(HDEFINES)" \
"INSTALL=$(INSTALL)" \
@@ -111,7 +109,7 @@ installcheck: installcheck-subdir
INCDIR=$(srcdir)/$(MULTISRCTOP)../include
-COMPILE.c = $(CC) -c @DEFS@ $(LIBCFLAGS) -I. -I$(INCDIR) $(HDEFINES) @ac_libiberty_warn_cflags@
+COMPILE.c = $(CC) -c @DEFS@ $(CFLAGS) -I. -I$(INCDIR) $(HDEFINES) @ac_libiberty_warn_cflags@
# Just to make sure we don't use a built-in rule with VPATH
.c.o:
@@ -350,9 +348,9 @@ install: install_to_$(INSTALL_DEST) install-subdir
# This is tricky. Even though CC in the Makefile contains
# multilib-specific flags, it's overridden by FLAGS_TO_PASS from the
-# default multilib, so we have to take LIBCFLAGS into account as well,
+# default multilib, so we have to take CFLAGS into account as well,
# since it will be passed the multilib flags.
-MULTIOSDIR = `$(CC) $(LIBCFLAGS) -print-multi-os-directory`
+MULTIOSDIR = `$(CC) $(CFLAGS) -print-multi-os-directory`
install_to_libdir: all
${mkinstalldirs} $(DESTDIR)$(libdir)/$(MULTIOSDIR)
$(INSTALL_DATA) $(TARGETLIB) $(DESTDIR)$(libdir)/$(MULTIOSDIR)/$(TARGETLIB)n