summaryrefslogtreecommitdiff
path: root/libiberty/Makefile.in
diff options
context:
space:
mode:
authorDJ Delorie <dj@delorie.com>2002-07-01 18:02:30 +0000
committerDJ Delorie <dj@delorie.com>2002-07-01 18:02:30 +0000
commit6725ef7e8b5f88aad1fcba6d047af337f6b8bea0 (patch)
treea7dfc18f928e7a072a477a5bdb652f348e0c3531 /libiberty/Makefile.in
parentbf247044cba73a71218e43aa37618d4f5e5e393b (diff)
downloadgdb-6725ef7e8b5f88aad1fcba6d047af337f6b8bea0.tar.gz
merge from gcc
Diffstat (limited to 'libiberty/Makefile.in')
-rw-r--r--libiberty/Makefile.in5
1 files changed, 4 insertions, 1 deletions
diff --git a/libiberty/Makefile.in b/libiberty/Makefile.in
index 60189725e16..5a25987d58b 100644
--- a/libiberty/Makefile.in
+++ b/libiberty/Makefile.in
@@ -52,6 +52,9 @@ INSTALL_PROGRAM = @INSTALL_PROGRAM@
INSTALL_DATA = @INSTALL_DATA@
mkinstalldirs = $(SHELL) $(srcdir)/../mkinstalldirs
+# Some compilers can't handle cc -c blah.c -o foo/blah.o.
+OUTPUT_OPTION = @OUTPUT_OPTION@
+
AR = @AR@
AR_FLAGS = rc
@@ -117,7 +120,7 @@ COMPILE.c = $(CC) -c @DEFS@ $(LIBCFLAGS) -I. -I$(INCDIR) $(HDEFINES) @ac_libiber
if [ x"$(PICFLAG)" != x ]; then \
$(COMPILE.c) $(PICFLAG) $< -o pic/$@; \
else true; fi
- $(COMPILE.c) $<
+ $(COMPILE.c) $< $(OUTPUT_OPTION)
# NOTE: If you add new files to the library, add them to this list
# (alphabetical), and add them to REQUIRED_OFILES, or