about summary refs log tree commit diff
path: root/cflags
blob: ce1352ed94a3bf705a65a1382dd533e45b23218f (plain) (blame)
1
2
3
4
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