Don't add linker flags with the emscripten target
Regen
This commit is contained in:
parent
d553485a92
commit
6bae891702
4
configure
vendored
4
configure
vendored
@ -8816,6 +8816,8 @@ else
|
||||
fi
|
||||
|
||||
|
||||
if test "x$EMSCRIPTEN" = "x"; then :
|
||||
|
||||
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the linker accepts -Wl,-z,relro" >&5
|
||||
$as_echo_n "checking whether the linker accepts -Wl,-z,relro... " >&6; }
|
||||
if ${ax_cv_check_ldflags___Wl__z_relro+:} false; then :
|
||||
@ -8925,6 +8927,8 @@ else
|
||||
fi
|
||||
|
||||
|
||||
fi
|
||||
|
||||
|
||||
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether segmentation violations can be caught when using the C compiler" >&5
|
||||
$as_echo_n "checking whether segmentation violations can be caught when using the C compiler... " >&6; }
|
||||
|
@ -358,9 +358,11 @@ AX_CHECK_COMPILE_FLAG([$CWFLAGS -Wswitch-enum], [CWFLAGS="$CWFLAGS -Wswitch-enum
|
||||
AX_CHECK_COMPILE_FLAG([$CWFLAGS -Wvariable-decl], [CWFLAGS="$CWFLAGS -Wvariable-decl"])
|
||||
AX_CHECK_COMPILE_FLAG([$CWFLAGS -Wwrite-strings], [CWFLAGS="$CWFLAGS -Wwrite-strings"])
|
||||
|
||||
AS_IF([test "x$EMSCRIPTEN" = "x"], [
|
||||
AX_CHECK_LINK_FLAG([-Wl,-z,relro], [LDFLAGS="$LDFLAGS -Wl,-z,relro"])
|
||||
AX_CHECK_LINK_FLAG([-Wl,-z,now], [LDFLAGS="$LDFLAGS -Wl,-z,now"])
|
||||
AX_CHECK_LINK_FLAG([-Wl,-z,noexecstack], [LDFLAGS="$LDFLAGS -Wl,-z,noexecstack"])
|
||||
])
|
||||
|
||||
AX_CHECK_CATCHABLE_SEGV
|
||||
AX_CHECK_CATCHABLE_ABRT
|
||||
|
Loading…
Reference in New Issue
Block a user