aboutsummaryrefslogtreecommitdiffstats
path: root/build-aux
diff options
context:
space:
mode:
authorRafael G. Martins <rafael@rafaelmartins.eng.br>2018-07-15 01:04:16 +0200
committerRafael G. Martins <rafael@rafaelmartins.eng.br>2018-07-15 01:04:49 +0200
commit8d4f9399c816f63ac62cc32e2b2bdc303d52f249 (patch)
tree6248ab58dc7940100a2acf06d3ee46ca2ecfa3db /build-aux
parentb064a0ab091edd2729307cae8e54a00a954539f0 (diff)
downloadblogc-8d4f9399c816f63ac62cc32e2b2bdc303d52f249.tar.gz
blogc-8d4f9399c816f63ac62cc32e2b2bdc303d52f249.tar.bz2
blogc-8d4f9399c816f63ac62cc32e2b2bdc303d52f249.zip
travis: try to fix incompatibility of static bins with fedora
it looks like fedora doesn't ship with the default locale used by travis-ci.
Diffstat (limited to 'build-aux')
-rwxr-xr-xbuild-aux/build-static-all.sh2
-rwxr-xr-xbuild-aux/build-static.sh2
2 files changed, 4 insertions, 0 deletions
diff --git a/build-aux/build-static-all.sh b/build-aux/build-static-all.sh
index 0cba1a3..42fd33f 100755
--- a/build-aux/build-static-all.sh
+++ b/build-aux/build-static-all.sh
@@ -2,6 +2,8 @@
set -ex
+export LC_ALL=
+
${MAKE_CMD:-make} LDFLAGS="-all-static"
${MAKE_CMD:-make} DESTDIR="${PWD}/root" install
install -m 644 ../LICENSE root/LICENSE
diff --git a/build-aux/build-static.sh b/build-aux/build-static.sh
index bf9cbf4..e5a09ed 100755
--- a/build-aux/build-static.sh
+++ b/build-aux/build-static.sh
@@ -2,6 +2,8 @@
set -ex
+export LC_ALL=
+
${MAKE_CMD:-make} LDFLAGS="-all-static" blogc
rm -rf root