package gcc: fix for OSX ASLR issues with pre-compiled headers

This commit is contained in:
Tony Theodore 2012-09-17 20:05:35 +10:00
parent 9c2746d2c4
commit fa98e530d7
1 changed files with 2 additions and 1 deletions

View File

@ -47,7 +47,8 @@ define $(PKG)_BUILD
--disable-libgomp \
--disable-libmudflap \
--with-mpfr-include='$(1)/mpfr/src' \
--with-mpfr-lib='$(1).build/mpfr/src/.libs'
--with-mpfr-lib='$(1).build/mpfr/src/.libs' \
$(shell [ `uname -s` == Darwin ] && echo "LDFLAGS='-Wl,-no_pie'")
$(MAKE) -C '$(1).build' -j '$(JOBS)'
$(MAKE) -C '$(1).build' -j 1 install