File tree Expand file tree Collapse file tree 1 file changed +6
-8
lines changed Expand file tree Collapse file tree 1 file changed +6
-8
lines changed Original file line number Diff line number Diff line change @@ -206,7 +206,13 @@ dnl supports it. This can help reduce the binary size and startup time.
206
206
AX_CHECK_COMPILE_FLAG ( [ -fvisibility=hidden] ,
207
207
[ CFLAGS="$CFLAGS -fvisibility=hidden"] )
208
208
209
+
210
+ dnl to disable executable stack on haiku due
211
+ dnl to missing elf .note.GNU-stack part
209
212
case $host_alias in
213
+ *haiku*)
214
+ LDFLAGS="$LDFLAGS -Wl,-z,noexecstack"
215
+ ;;
210
216
*solaris*)
211
217
CPPFLAGS="$CPPFLAGS -D_POSIX_PTHREAD_SEMANTICS"
212
218
;;
@@ -234,14 +240,6 @@ case $host_alias in
234
240
;;
235
241
esac
236
242
237
- dnl to disable executable stack on haiku due
238
- dnl to missing elf .note.GNU-stack part
239
- case $host_alias in
240
- *haiku*)
241
- LDFLAGS="$LDFLAGS -Wl,-z,noexecstack"
242
- ;;
243
- esac
244
-
245
243
dnl Detect musl libc
246
244
AC_MSG_CHECKING ( [ whether we are using musl libc] )
247
245
if command -v ldd >/dev/null && ldd --version 2>&1 | grep ^musl >/dev/null 2>&1
You can’t perform that action at this time.
0 commit comments