File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -136,12 +136,12 @@ LOCAL_LDADD = -L$(TOPDIR)/src/lib/$(OBJDIR)
136136COMP_FLAGS += -g -O2 -I/usr/include -I$(INCDIR) -I$(TOPDIR)/include -I. -Wall -fPIC
137137
138138# get gcc version (space-separated components)
139- GCC_VER_SPC=$(shell gcc -dumpversion | tr '.' ' ')
139+ GCC_VER_SPC=$(shell $(CC) -dumpversion | tr '.' ' ')
140140# turn it into an integer, zero-padding minor and patch versions to 4 digits
141141GCC_VER_INT=$(shell printf "%d%04d%04d" $(GCC_VER_SPC))
142142# compare to minimum version 4.8.0
143143GCC_GTE_48=$(shell expr $(GCC_VER_INT) \>= 400080000)
144- GCC_GTE_80=$(shell expr $(GCC_VER_INT) \>= 800080000 )
144+ GCC_GTE_80=$(shell expr $(GCC_VER_INT) \>= 800000000 )
145145
146146PEDANTIC = -Wall -pedantic -Wno-variadic-macros -Wno-long-long -Wno-overlength-strings
147147
You can’t perform that action at this time.
0 commit comments