summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTom Lane <tgl@redhat.com>2009-01-09 00:44:05 +0100
committerChristoph Brill <egore911@egore911.de>2009-01-09 00:44:05 +0100
commitc0f128e401a1767a791d659a126aba207376c0ef (patch)
tree68f730ddbdc436d105e0a73a33a7ff37957d75e4
parente5ce159199b736694bd93c75f0eec944600aea9b (diff)
[PATCH] libjpeg-cflags.patchfedora-patches
Update the ancient libtool and configure scripts shipped with libjpeg-6b.
-rw-r--r--makefile.cfg4
1 files changed, 2 insertions, 2 deletions
diff --git a/makefile.cfg b/makefile.cfg
index f25e42e..ca5ed3d 100644
--- a/makefile.cfg
+++ b/makefile.cfg
@@ -54,7 +54,7 @@ SYSDEPMEM= @MEMORYMGR@
# miscellaneous OS-dependent stuff
SHELL= /bin/sh
# linker
-LN= @LN@
+LN= @LN@ $(CFLAGS)
# file deletion command
RM= rm -f
# directory creation command
@@ -168,7 +168,7 @@ libjpeg.a: @A2K_DEPS@ $(LIBOBJECTS)
# with libtool:
libjpeg.la: @A2K_DEPS@ $(LIBOBJECTS)
- $(LIBTOOL) --mode=link $(CC) -o libjpeg.la $(LIBOBJECTS) \
+ $(LIBTOOL) --mode=link $(CC) $(CFLAGS) -o libjpeg.la $(LIBOBJECTS) \
-rpath $(libdir) -version-info $(JPEG_LIB_VERSION)
# sample programs: