diff options
| author | kkard2 <[email protected]> | 2025-09-24 16:14:54 +0200 |
|---|---|---|
| committer | kkard2 <[email protected]> | 2025-09-24 16:14:54 +0200 |
| commit | b76e677681bb2bc258246edcd2e4d7f7a1a7bd36 (patch) | |
| tree | 3b18cd815214e7fea38063ed0a61c2a8b35ba378 | |
| parent | e66e6c79886b77d4b7f1a72bbb5947aec0a46a07 (diff) | |
-flto makes a huge difference for transparency.c (which makes sense)
| -rwxr-xr-x | run_example | 3 |
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 |
