Skip to content

Commit

Permalink
Merge pull request #31 from ZOSOpenTools/common_cflags
Browse files Browse the repository at this point in the history
Use a common cflags for m4
  • Loading branch information
IgorTodorovskiIBM authored Apr 24, 2023
2 parents 3db39a8 + 10a8657 commit 48525a8
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions buildenv
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
#
# Set up environment variables for general build tool to operate
#
export ZOPEN_TYPE="GIT"
export ZOPEN_TYPE="TARBALL"

ZOPEN_TARBALL_DIR=m4-1.4.19
export ZOPEN_TARBALL_URL="https://ftp.gnu.org/gnu/m4/${ZOPEN_TARBALL_DIR}.tar.gz"
Expand All @@ -17,13 +17,13 @@ export ZOPEN_EXTRA_LDFLAGS=""
rm patches
if [ "${ZOPEN_TYPE}x" = "TARBALLx" ]; then
export ZOPEN_BOOTSTRAP=skip
export ZOPEN_EXTRA_CFLAGS="-qnose -std=c11 -I\${ZOPEN_ROOT}/${ZOPEN_TARBALL_DIR}/lib,\${ZOPEN_ROOT}/patches/PR1/include,/usr/include/le"
ln -s tarball-patches patches
else
export ZOPEN_EXTRA_CFLAGS="-std=c11 -fgnu89-inline -I\${ZOPEN_ROOT}/${ZOPEN_GIT_DIR}/lib -I\${ZOPEN_ROOT}/patches/PR1/include"
ln -s git-patches patches
fi

export ZOPEN_EXTRA_CFLAGS="-std=c11 -fgnu89-inline -I\${ZOPEN_ROOT}/${ZOPEN_GIT_DIR}/lib -I\${ZOPEN_ROOT}/patches/PR1/include"

zopen_append_to_env()
{
cat <<ZZ
Expand Down

0 comments on commit 48525a8

Please sign in to comment.