From 4252279cbbf63e1c722a1fa9b1e096e188989791 Mon Sep 17 00:00:00 2001 From: Hegedüs Márton Csaba Date: Fri, 8 Jun 2018 22:31:55 +0200 Subject: Add support for GCC's --sysroot option to configure.py --- src/build-data/makefile.in | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/build-data/makefile.in') 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} -- cgit v1.2.3