diff options
author | Tomasz Kramkowski <tk@the-tk.com> | 2021-07-15 17:20:56 +0100 |
---|---|---|
committer | Tomasz Kramkowski <tk@the-tk.com> | 2021-07-15 17:20:56 +0100 |
commit | 945563f4e4e4cf4e4aa570ad64acd41702e8f9e6 (patch) | |
tree | 3971802d9f6133c2e16dd25578c98ea75e2bfb47 /compile_flags.txt.do | |
parent | 18e1756dfb07d0adbd4f045534a18194839fe86c (diff) | |
download | pack-945563f4e4e4cf4e4aa570ad64acd41702e8f9e6.tar.gz pack-945563f4e4e4cf4e4aa570ad64acd41702e8f9e6.tar.xz pack-945563f4e4e4cf4e4aa570ad64acd41702e8f9e6.zip |
Generate .config.rc (now .vars.rc) with redo
This avoids relying on configure generating anything, this should also
make it easier to ensure that git-bisect builds don't need any
reconfiguring or cleans.
Diffstat (limited to 'compile_flags.txt.do')
-rwxr-xr-x | compile_flags.txt.do | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/compile_flags.txt.do b/compile_flags.txt.do new file mode 100755 index 0000000..4d14f78 --- /dev/null +++ b/compile_flags.txt.do @@ -0,0 +1,4 @@ +#!/bin/bash +redo-ifchange .vars.rc +. ./.vars.rc +printf '%s\n' "${CFLAGS[@]}" "${CPPFLAGS[@]}" >"$3" |