Skip to content

Commit cf0f6e4

Browse files
committed
Add explicit non-PIC test
1 parent 8f36ff9 commit cf0f6e4

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

‎ext/opcache/jit/tls/testing/test.sh

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -207,7 +207,9 @@ for CC in clang gcc; do
207207
CFLAGS="$MACHINE $MUSL $opt -Werror -I$root/ext/opcache -I$root/Zend -I$root"
208208
LDFLAGS="$MACHINE -fuse-ld=$LD $RPATH"
209209

210-
exe_def_static_user
210+
for pic in "-fPIC" "-fno-PIC -static"; do
211+
CFLAGS="$CFLAGS $pic" exe_def_static_user
212+
done
211213
shared_def_static_user
212214
shared_def_static_user_no_surplus
213215
dl_def_static_user

0 commit comments

Comments
 (0)