summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRomain Bouvier <skunnyk@alteroot.org>2020-12-09 11:49:35 +0100
committerRomain Bouvier <skunnyk@alteroot.org>2020-12-09 11:49:35 +0100
commit6bd43f8ef09e60ca92ea8a2746469cf1a513e727 (patch)
tree04415d474b4089df9d890b63a5af287a4d717173
parentb7e6c14a353bc03b0911dacc95f5e59f81e95f99 (diff)
downloadxfce4-dev-tools-6bd43f8ef09e60ca92ea8a2746469cf1a513e727.tar.gz
Disable CFLAGS override when building CI container
- We don't need to override CFLAGS when we build the CI container, only project built WITH the container needs that - Also, build is broken because of new line in CFLAGS variable
-rw-r--r--ci/build_libs.sh9
1 files changed, 1 insertions, 8 deletions
diff --git a/ci/build_libs.sh b/ci/build_libs.sh
index e85c765..2853951 100644
--- a/ci/build_libs.sh
+++ b/ci/build_libs.sh
@@ -16,13 +16,6 @@ AUTOGEN_OPTIONS="
--enable-gtk-doc
"
-CFLAGS="
- -Wall
- -Wno-deprecated-declarations
- -Werror=implicit-function-declaration
- -Werror=return-type
-"
-
# list of git repos in build order
REPOS="${XFCE_BASE}/xfce/xfce4-dev-tools.git
${XFCE_BASE}/xfce/libxfce4util.git
@@ -41,7 +34,7 @@ for URL in ${REPOS}; do
TAG=$(git describe --abbrev=0 --match "$NAME*" 2>/dev/null)
echo "--- Building $NAME ($TAG) ---"
git checkout -b build-$TAG $TAG
- env "CFLAGS=${CFLAGS}" ./autogen.sh $AUTOGEN_OPTIONS
+ ./autogen.sh $AUTOGEN_OPTIONS
make -j${NPROC:-$(nproc)}
make install
echo "$(pwd): $(git describe)" >> /tmp/xfce_build_version_info.txt