hewei %!s(int64=6) %!d(string=hai) anos
pai
achega
7b2ad2d919
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      Makefile.in

+ 1 - 1
Makefile.in

@@ -160,7 +160,7 @@ ifeq ($(OS), Android)
 	LDFLAGS += -lstdc++ -lm -llog -ldl
 else
 	LDFLAGS += -lstdc++ -lpthread -lm -ldl
-ifneq ($(findstring gcc, $(CC)), )
+ifneq ($(findstring gcc, $(CC_VERSION)), )
 	LDFLAGS += -lrt # for clock_gettime, clang not -lrt
 endif
 endif