mirror of
https://github.com/Rockbox/rockbox.git
synced 2026-01-22 01:30:35 -05:00
configure: Filter out "-Wl,-z,noexecstack" for winsim builds
Change-Id: I0222627729fbd475dfa7f4955b534f76ca780ccf
This commit is contained in:
parent
20d31c114a
commit
8aec8ee686
1 changed files with 2 additions and 1 deletions
3
tools/configure
vendored
3
tools/configure
vendored
|
|
@ -319,6 +319,7 @@ simcc () {
|
|||
GCCOPTS="$GCCOPTS -Wno-format"
|
||||
LDOPTS="$LDOPTS -mconsole -static"
|
||||
GLOBAL_LDOPTS=`echo $GLOBAL_LDOPTS | sed -e s/\-Wl,-z,defs//`
|
||||
GLOBAL_LDOPTS=`echo $GLOBAL_LDOPTS | sed -e s/\-Wl,-z,noexecstack//`
|
||||
LDOPTS=`echo $LDOPTS | sed -e s/-ldl// -e s/-lrt// -e s/-lasound//`
|
||||
output="$output.exe"
|
||||
winbuild="yes"
|
||||
|
|
@ -643,7 +644,7 @@ arm1176jzlinuxcc () {
|
|||
GCCOPTIMIZE=''
|
||||
LDOPTS="-lasound -lpthread -lm -ldl -lrt $LDOPTS"
|
||||
GLOBAL_LDOPTS="$GLOBAL_LDOPTS -Wl,-z,defs" # warn about undefined symbols in shared libraries
|
||||
GLOBAL_LDOPTS="$GLOBAL_LDOPTS -Wl,-z,defs -Wl,-z,noexecstack" # Stack is not executable
|
||||
GLOBAL_LDOPTS="$GLOBAL_LDOPTS -Wl,-z,noexecstack" # Stack is not executable
|
||||
SHARED_LDFLAGS="-shared"
|
||||
SHARED_CFLAGS=''
|
||||
endian="little"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue