From: Patrick McCarty Date: Fri, 8 Feb 2013 19:05:33 +0000 (-0800) Subject: makefile.cfg: ensure CFLAGS are passed to libtool and ld X-Git-Tag: accepted/tizen/20130503.222238~4 X-Git-Url: http://review.tizen.org/git/?p=platform%2Fupstream%2Flibjpeg6.git;a=commitdiff_plain;h=5bed87cf14c883f5364c3ab3bba04d079fcf5c23 makefile.cfg: ensure CFLAGS are passed to libtool and ld --- diff --git a/makefile.cfg b/makefile.cfg index f25e42e..174c271 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: