From 4be0e6ed059827a22f5ad6e5c84f5ed306b94372 Mon Sep 17 00:00:00 2001 From: nsfisis Date: Sat, 3 May 2025 13:50:30 +0900 Subject: suprress linker warnings --- tests/001.sh | 2 +- tests/002.sh | 2 +- tests/003.sh | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) (limited to 'tests') 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=$? -- cgit v1.2.3-70-g09d2