Commit ecf39981 authored by Alexander Larsson's avatar Alexander Larsson
Browse files

Unset various env vars like CFLAGS during build

These can unexpectedly affect what flags rpm picks based on the
outside environment.
parent c7498f81
......@@ -11,6 +11,10 @@ LINUX_USER_CHROOT=`which linux-user-chroot 2> /dev/null`
declare -x LC_ALL=en_US.utf8
declare -x HOME=/self/packages
unset CFLAGS
unset CXXFLAGS
unset LDFLAGS
unset FFLAGS
unset ACLOCAL_FLAGS
unset ACLOCAL_PATH
unset CPLUS_INCLUDE_PATH
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment