Skip to content
This repository was archived by the owner on Apr 12, 2019. It is now read-only.

Commit da74a3f

Browse files
committed
Print gcc information using C locale
Otherwise the "programs" and "libraries" keywords won't show up...
1 parent 0c63ec7 commit da74a3f

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Make.inc

+2-2
Original file line numberDiff line numberDiff line change
@@ -262,8 +262,8 @@ OPENBLAS_DYNAMIC_ARCH := 1
262262
override CROSS_COMPILE:=$(XC_HOST)-
263263
ifneq (,$(findstring mingw,$(XC_HOST)))
264264
override OS := WINNT
265-
STD_LIB_PATH := $(shell $(CROSS_COMPILE)gcc -print-search-dirs | grep programs | sed -e "s/^programs: =//")
266-
STD_LIB_PATH := $(STD_LIB_PATH):$(shell $(CROSS_COMPILE)gcc -print-search-dirs | grep libraries | sed -e "s/^libraries: =//")
265+
STD_LIB_PATH := $(shell LANG=C $(CROSS_COMPILE)gcc -print-search-dirs | grep programs | sed -e "s/^programs: =//")
266+
STD_LIB_PATH := $(STD_LIB_PATH):$(shell LANG=C $(CROSS_COMPILE)gcc -print-search-dirs | grep libraries | sed -e "s/^libraries: =//")
267267
ifneq (,$(findstring CYGWIN,$(BUILD_OS))) # the cygwin-mingw32 compiler lies about it search directory paths
268268
STD_LIB_PATH := $(shell echo '$(STD_LIB_PATH)' | sed -e "s!/lib/!/bin/!g")
269269
endif

0 commit comments

Comments
 (0)