Add '-read_only_relocs warning' to LDDLLFLAGS on Darwin.
This commit is contained in:
parent
6d582fed50
commit
4fe448ddf9
|
@ -14109,7 +14109,7 @@ echo "${ECHO_T}$ac_cv_c_dll_macho" >&6
|
|||
if test "$ac_cv_c_dll_macho" = "yes"
|
||||
then
|
||||
LIBEXT="dylib"
|
||||
LDDLLFLAGS="-bundle -flat_namespace -undefined suppress"
|
||||
LDDLLFLAGS="-bundle -flat_namespace -undefined suppress -read_only_relocs warning"
|
||||
LDSHARED="\$(CC) -dynamiclib"
|
||||
CFLAGS="$CFLAGS -ffixed-r13 -no-cpp-precomp"
|
||||
STRIP="$STRIP -u -r"
|
||||
|
|
|
@ -1005,7 +1005,7 @@ case $host_os in
|
|||
if test "$ac_cv_c_dll_macho" = "yes"
|
||||
then
|
||||
LIBEXT="dylib"
|
||||
LDDLLFLAGS="-bundle -flat_namespace -undefined suppress"
|
||||
LDDLLFLAGS="-bundle -flat_namespace -undefined suppress -read_only_relocs warning"
|
||||
LDSHARED="\$(CC) -dynamiclib"
|
||||
CFLAGS="$CFLAGS -ffixed-r13 -no-cpp-precomp"
|
||||
STRIP="$STRIP -u -r"
|
||||
|
|
Loading…
Reference in New Issue