Permalink
Browse files

eiwic-1.1.3-ldflags-1.patch: Respect LDFLAGS

09 Feb 2009; Christoph Mende <angelos@gentoo.org>
  • Loading branch information...
lordi committed Mar 30, 2010
1 parent b3ffb9a commit f0725c8686efeb2c952674674f4d37f25dc7b1f7
Showing with 2 additions and 2 deletions.
  1. +2 −2 modules/Makefile.am
View
@@ -15,8 +15,8 @@ ADD_BUILD_FLAGS = if [ -e $(patsubst %.so,%.buildflags, $@) ]; then cat $(patsub
echo "$@ skipped."; \
else :;\
if test $(patsubst %.so,%.c, $@) -nt $@ -o ! -e $@; then \
- echo "@CC@ @CFLAGS@ $(DEFS) $(INCLUDES) `$(ADD_BUILD_FLAGS)` -shared -fPIC $(patsubst %.so,%.c, $@) -o $@"; \
- @CC@ @CFLAGS@ $(DEFS) $(INCLUDES) `$(ADD_BUILD_FLAGS)` -shared -fPIC $(patsubst %.so,%.c, $@) -o $@; \
+ echo "@CC@ @CFLAGS@ $(LDFLAGS) $(DEFS) $(INCLUDES) `$(ADD_BUILD_FLAGS)` -shared -fPIC $(patsubst %.so,%.c, $@) -o $@"; \
+ @CC@ @CFLAGS@ $(LDFLAGS) $(DEFS) $(INCLUDES) `$(ADD_BUILD_FLAGS)` -shared -fPIC $(patsubst %.so,%.c, $@) -o $@; \
else :; fi; \
fi

0 comments on commit f0725c8

Please sign in to comment.