aboutsummaryrefslogtreecommitdiffstats
path: root/src/build-data/makefile.in
diff options
context:
space:
mode:
authorHegedüs Márton Csaba <[email protected]>2018-06-08 22:31:55 +0200
committerHegedüs Márton Csaba <[email protected]>2018-06-08 22:31:55 +0200
commit4252279cbbf63e1c722a1fa9b1e096e188989791 (patch)
tree9387df29d2d126f4dd0b1dff1e7ca9ad16185fcc /src/build-data/makefile.in
parent2f7cc125bee0f9ca940c09044672b267acb91d08 (diff)
Add support for GCC's --sysroot option to configure.py
Diffstat (limited to 'src/build-data/makefile.in')
-rw-r--r--src/build-data/makefile.in4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/build-data/makefile.in b/src/build-data/makefile.in
index 6dc438d0c..04aa9f461 100644
--- a/src/build-data/makefile.in
+++ b/src/build-data/makefile.in
@@ -9,10 +9,10 @@ PYTHON_EXE = %{python_exe}
ABI_FLAGS = %{cxx_abi_flags}
LANG_FLAGS = %{cc_lang_flags}
-CXXFLAGS = %{cc_compile_flags}
+CXXFLAGS = %{cc_sysroot} %{cc_compile_flags}
WARN_FLAGS = %{cc_warning_flags}
SO_OBJ_FLAGS = %{shared_flags}
-LDFLAGS = %{ldflags}
+LDFLAGS = %{cc_sysroot} %{ldflags}
EXE_LINK_CMD = %{exe_link_cmd}
POST_LINK_CMD = %{post_link_cmd}