summaryrefslogtreecommitdiff
path: root/test/compile-c++20.sh
diff options
context:
space:
mode:
Diffstat (limited to 'test/compile-c++20.sh')
-rwxr-xr-xtest/compile-c++20.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/compile-c++20.sh b/test/compile-c++20.sh
index 502063b..aa9f02a 100755
--- a/test/compile-c++20.sh
+++ b/test/compile-c++20.sh
@@ -1,4 +1,4 @@
#!/bin/sh
# g++ as provided by Debian Buster (used for CI tests) does not support c++20
-exec g++ -std=c++2a -Wall -Wextra -pedantic -I../src -o inflate inflate-app.c ../src/inflate.c
+exec g++ -std=c++2a -O2 -Wall -Wextra -pedantic -I../src "$@" -o inflate inflate-app.c ../src/inflate.c