summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xrun_example3
1 files changed, 2 insertions, 1 deletions
diff --git a/run_example b/run_example
index 046f066..a035d74 100755
--- a/run_example
+++ b/run_example
@@ -1,3 +1,4 @@
#!/bin/bash
cc -o example examples/platform/platform_x11.c examples/$1 \
- -lX11 -lm -Wall -Wextra -Wno-type-limits -Wno-pointer-sign -g -O3 -march=native && ./example
+ -lX11 -lm -Wall -Wextra -Wno-type-limits -Wno-pointer-sign -g \
+ -O3 -march=native -flto -ffast-math && ./example