summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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: