Skip to content

Commit d872c77

Browse files
committed
[Linux] Use the right compiler for "libstdc++.so" detection
1 parent 1cbc565 commit d872c77

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

linux/Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ ifeq "$(COMPILER)" ""
2929
endif
3030

3131
CPLUS="$(COMPILER) -m32"
32-
CPP_LIB:=-L$(shell g++ -m32 -print-file-name=libstdc++.so | xargs dirname) -lstdc++ -ldl -lpthread -static-libstdc++ -static-libgcc
32+
CPP_LIB:=-L$(shell $(COMPILER) -m32 -print-file-name=libstdc++.so | xargs dirname) -lstdc++ -ldl -lpthread -static-libstdc++ -static-libgcc
3333

3434
ARCH_CFLAGS=-march=pentium-m -mfpmath=387 -mno-sse
3535

0 commit comments

Comments
 (0)