Mercurial > mxe-octave
changeset 2731:7dece766f419
package gcc: fix for OSX ASLR issues with pre-compiled headers
author | Tony Theodore <tonyt@logyst.com> |
---|---|
date | Mon, 17 Sep 2012 20:05:35 +1000 |
parents | 38054572b13f |
children | ebe3474e514b |
files | src/gcc.mk |
diffstat | 1 files changed, 2 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/src/gcc.mk Sun Sep 16 19:43:49 2012 +1000 +++ b/src/gcc.mk Mon Sep 17 20:05:35 2012 +1000 @@ -47,7 +47,8 @@ --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