summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/ob-buildenv.sh4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/ob-buildenv.sh b/src/ob-buildenv.sh
index 6d42851..0bbfdbb 100644
--- a/src/ob-buildenv.sh
+++ b/src/ob-buildenv.sh
@@ -84,6 +84,10 @@ setup_build_flags()
if [ -r "${build_flags}" ]; then
. "${build_flags}"
fi
+ printf "CFLAGS='%s %s'\\n" "${CFLAGS:-}" \
+ "-ffile-prefix-map=${PWD}=."
+ printf "CXXFLAGS='%s %s'\\n" "${CXXFLAGS:-}" \
+ "-ffile-prefix-map=${PWD}=."
return 0
}