Skip to content
Snippets Groups Projects
Commit fe39e018 authored by hexcoder-'s avatar hexcoder-
Browse files

gcc_plugin switch CC to gcc when cc is something else

parent 688e2c87
No related branches found
No related tags found
No related merge requests found
......@@ -51,6 +51,11 @@ ifeq "clang++" "$(CXX)"
CXX = g++
endif
ifeq "$(findstring Foundation,$(shell $(CC) --version))" ""
CC = gcc
CXX = g++
endif
PLUGIN_FLAGS = -fPIC -fno-rtti -I"$(shell $(CC) -print-file-name=plugin)/include"
HASH=\#
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment