diff options
author | Ismael Luceno | 2019-08-12 19:33:41 +0200 |
---|---|---|
committer | Ismael Luceno | 2019-08-13 12:51:49 +0200 |
commit | 0d5b1e71bdfe487140e43eecf904a00a7276eced (patch) | |
tree | ee31d90fc2354d6c56b1652405b225362737d7e8 /security | |
parent | 536b1d057dcd72fbfbc7fa6222ef4479bbf30c4c (diff) |
wipe: Fix passing of CFLAGS and build against musl
Diffstat (limited to 'security')
-rwxr-xr-x | security/wipe/BUILD | 4 | ||||
-rw-r--r-- | security/wipe/HISTORY | 4 | ||||
-rwxr-xr-x | security/wipe/PRE_BUILD | 5 |
3 files changed, 13 insertions, 0 deletions
diff --git a/security/wipe/BUILD b/security/wipe/BUILD new file mode 100755 index 0000000000..a9ac6dd6c2 --- /dev/null +++ b/security/wipe/BUILD @@ -0,0 +1,4 @@ +case "$HOST" in +*-musl) CFLAGS+=" -Du_int32_t=uint32_t" ;; +esac && +default_build diff --git a/security/wipe/HISTORY b/security/wipe/HISTORY index 5ecf965fe1..98aa4bf305 100644 --- a/security/wipe/HISTORY +++ b/security/wipe/HISTORY @@ -1,3 +1,7 @@ +2019-08-12 Ismael Luceno <ismael@sourcemage.org> + * BUILD, PRE_BUILD: Fixed build against musl + Fixed passing of CFLAGS + 2016-07-09 Ismael Luceno <ismael@sourcemage.org> * DETAILS: updated spell to 2.3.1 diff --git a/security/wipe/PRE_BUILD b/security/wipe/PRE_BUILD new file mode 100755 index 0000000000..96893bc8c9 --- /dev/null +++ b/security/wipe/PRE_BUILD @@ -0,0 +1,5 @@ +default_pre_build && +cd "$SOURCE_DIRECTORY" && +sedit 's!maybe_os in$!& linux-musl*|\\!' config.sub && +# Fix passing of CFLAGS +sedit '/^fullCFLAGS=""/s/"/"$CFLAGS/' configure |