about summary refs log tree commit diff
path: root/cflags
diff options
context:
space:
mode:
Diffstat (limited to 'cflags')
-rwxr-xr-xcflags5
1 files changed, 5 insertions, 0 deletions
diff --git a/cflags b/cflags
new file mode 100755
index 0000000..ce1352e
--- /dev/null
+++ b/cflags
@@ -0,0 +1,5 @@
+#!/bin/sh
+
+gcc -v -E -x c -march=native -mtune=native - </dev/null 2>&1 |
+    grep "cc1" |
+    sed -e 's/^.* - //g'

Consider giving Nix/NixOS a try! <3