aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authornsfisis <nsfisis@gmail.com>2025-05-03 13:50:30 +0900
committernsfisis <nsfisis@gmail.com>2025-05-03 13:50:30 +0900
commit4be0e6ed059827a22f5ad6e5c84f5ed306b94372 (patch)
treee7a9e7ac80b61b8b82acc086f145b19aec3434b0
parent1d35543d699bda24409605de5c2e5f5ea52ed743 (diff)
downloadP4Dcc-4be0e6ed059827a22f5ad6e5c84f5ed306b94372.tar.gz
P4Dcc-4be0e6ed059827a22f5ad6e5c84f5ed306b94372.tar.zst
P4Dcc-4be0e6ed059827a22f5ad6e5c84f5ed306b94372.zip
suprress linker warnings
-rw-r--r--tests/001.sh2
-rw-r--r--tests/002.sh2
-rw-r--r--tests/003.sh2
3 files changed, 3 insertions, 3 deletions
diff --git a/tests/001.sh b/tests/001.sh
index 70e00f5..a81f2c3 100644
--- a/tests/001.sh
+++ b/tests/001.sh
@@ -9,7 +9,7 @@ if [[ $? -ne 0 ]]; then
cat main.s >&2
exit 1
fi
-gcc -o a.out main.s
+gcc -Wl,-z,noexecstack -o a.out main.s
./a.out
exit_code=$?
diff --git a/tests/002.sh b/tests/002.sh
index 65d3d69..9dbbb21 100644
--- a/tests/002.sh
+++ b/tests/002.sh
@@ -9,7 +9,7 @@ if [[ $? -ne 0 ]]; then
cat main.s >&2
exit 1
fi
-gcc -o a.out main.s
+gcc -Wl,-z,noexecstack -o a.out main.s
./a.out
exit_code=$?
diff --git a/tests/003.sh b/tests/003.sh
index e99b7e1..77a3886 100644
--- a/tests/003.sh
+++ b/tests/003.sh
@@ -9,7 +9,7 @@ if [[ $? -ne 0 ]]; then
cat main.s >&2
exit 1
fi
-gcc -o a.out main.s
+gcc -Wl,-z,noexecstack -o a.out main.s
./a.out
exit_code=$?