summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authordavidovski <david@davidovski.xyz>2022-06-28 23:51:52 +0100
committerdavidovski <david@davidovski.xyz>2022-06-28 23:51:52 +0100
commit802ea15444cffbef0f76cb1b5190c6bcdfe2591c (patch)
tree4d5d667bcd3c540840af0e0440d38eaca4951abe
parentab421f4f139b45f7fc6ec14ae4b6b24542e4b7dd (diff)
changed default flags
-rwxr-xr-xxib.sh3
-rwxr-xr-xxib_profile.conf2
2 files changed, 3 insertions, 2 deletions
diff --git a/xib.sh b/xib.sh
index a7eca0f..0f3b676 100755
--- a/xib.sh
+++ b/xib.sh
@@ -225,7 +225,8 @@ xib_all () {
[ "${#package}" != 0 ] && [ -d "$package" ] && {
local package_name="$(basename ${package#/*})"
xibsum=$(get_buildfiles_hash $package)
- [ -f "$seen/$package_name.xibsum" ] && [ "$(cat "$seen/$package_name.xibsum")" = "$xibsum" ] && {
+ [ -f "$seen/$package_name.xibsum" ] && \
+ [ "$(cat "$seen/$package_name.xibsum")" = "$xibsum" ] && {
printf "${BLUE}$package_name${LIGHT_BLUE}...already built!\n"
} || {
xib_single $name || {
diff --git a/xib_profile.conf b/xib_profile.conf
index 871c0a3..4938d35 100755
--- a/xib_profile.conf
+++ b/xib_profile.conf
@@ -12,7 +12,7 @@ export CXXFLAGS="$CFLAGS"
export CPPFLAGS="$CFLAGS"
export LDFLAGS="-Wl,--as-needed,-O1,--sort-common"
export GOFLAGS="-buildmode=pie"
-export DFLAGS="-Os"
+export DFLAGS="-O2"
export HOME=/root
export XORG_PREFIX="/usr"