mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2025-01-31 12:41:49 +01:00
cross-build Makefile needs to unset CFLAGS/CXXFLAGS when building the build-side utilities since the flags will be for the cross-compiler.
llvm-svn: 102225
This commit is contained in:
parent
ace5b97b5c
commit
5d2852cdd0
2
Makefile
2
Makefile
@ -110,6 +110,8 @@ cross-compile-build-tools:
|
|||||||
ENABLE_COVERAGE=$(ENABLE_COVERAGE) \
|
ENABLE_COVERAGE=$(ENABLE_COVERAGE) \
|
||||||
DISABLE_ASSERTIONS=$(DISABLE_ASSERTIONS) \
|
DISABLE_ASSERTIONS=$(DISABLE_ASSERTIONS) \
|
||||||
ENABLE_EXPENSIVE_CHECKS=$(ENABLE_EXPENSIVE_CHECKS) \
|
ENABLE_EXPENSIVE_CHECKS=$(ENABLE_EXPENSIVE_CHECKS) \
|
||||||
|
CFLAGS= \
|
||||||
|
CXXFLAGS= \
|
||||||
) || exit 1;
|
) || exit 1;
|
||||||
endif
|
endif
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user