mirror of
https://github.com/lexborisov/Modest
synced 2024-11-22 05:41:32 +03:00
--std => -std
This commit is contained in:
parent
4d34d0848e
commit
b4b744cbc3
@ -16,7 +16,7 @@ BINARY_LDFLAGS +=
|
||||
# Windows_NT
|
||||
#*******************
|
||||
ifeq ($(OS),Windows_NT)
|
||||
BINARY_CFLAGS += -Wno-unused-variable -Wno-unused-function --std=c99
|
||||
BINARY_CFLAGS += -Wno-unused-variable -Wno-unused-function -std=c99
|
||||
endif
|
||||
# end of Windows_NT
|
||||
|
||||
@ -25,7 +25,7 @@ endif
|
||||
#*******************
|
||||
ifeq ($(OS),Darwin)
|
||||
BINARY_CFLAGS += -fPIC
|
||||
BINARY_CFLAGS += $(BINARY_OPTIMIZATION_LEVEL) -Wno-unused-variable -Wno-unused-function --std=c99
|
||||
BINARY_CFLAGS += $(BINARY_OPTIMIZATION_LEVEL) -Wno-unused-variable -Wno-unused-function -std=c99
|
||||
endif
|
||||
# end of Darwin, Mac OS X
|
||||
|
||||
@ -35,7 +35,7 @@ endif
|
||||
ifeq ($(MODEST_BUILD_OS),UNDEF)
|
||||
BINARY_CFLAGS += -fPIC
|
||||
BINARY_CFLAGS += -D_POSIX_C_SOURCE=199309L
|
||||
BINARY_CFLAGS += $(BINARY_OPTIMIZATION_LEVEL) -Wno-unused-variable -Wno-unused-function --std=c99
|
||||
BINARY_CFLAGS += $(BINARY_OPTIMIZATION_LEVEL) -Wno-unused-variable -Wno-unused-function -std=c99
|
||||
BINARY_LIBRARIES += -lm
|
||||
|
||||
# build without threads
|
||||
|
@ -108,7 +108,7 @@ ifeq ($(OS),Windows_NT)
|
||||
|
||||
MODEST_LIBRARY_NAME_WITH_VERSION := lib$(LIB_NAME)-$(MODEST_VERSION_MAJOR)$(LIB_NAME_SUFFIX)
|
||||
|
||||
MODEST_CFLAGS += -Wno-unused-variable -Wno-unused-function --std=c99
|
||||
MODEST_CFLAGS += -Wno-unused-variable -Wno-unused-function -std=c99
|
||||
MODEST_LDFLAGS += -Wl,--out-implib,$(call MODEST_LIBRARY_STATIC)
|
||||
|
||||
MODEST_BUILD_SHARED_AFTER += cp $(call MODEST_LIBRARY_WITH_VERSION) $(BINARY_DIR_BASE) $(MODEST_UTILS_NEW_LINE)
|
||||
@ -126,7 +126,7 @@ endif
|
||||
#*******************
|
||||
ifeq ($(OS),Darwin)
|
||||
MODEST_CFLAGS += -fPIC
|
||||
MODEST_CFLAGS += $(MODEST_OPTIMIZATION_LEVEL) -Wno-unused-variable -Wno-unused-function --std=c99
|
||||
MODEST_CFLAGS += $(MODEST_OPTIMIZATION_LEVEL) -Wno-unused-variable -Wno-unused-function -std=c99
|
||||
LIB_NAME_SUFFIX := .dylib
|
||||
|
||||
MODEST_BUILD_SHARED_AFTER += ln -s $(call MODEST_LIBRARY_WITH_VERSION) $(call MODEST_LIBRARY) $(MODEST_UTILS_NEW_LINE)
|
||||
@ -150,7 +150,7 @@ endif
|
||||
ifeq ($(MODEST_BUILD_OS),UNDEF)
|
||||
MODEST_CFLAGS += -fPIC
|
||||
MODEST_CFLAGS += -D_POSIX_C_SOURCE=199309L
|
||||
MODEST_CFLAGS += $(MODEST_OPTIMIZATION_LEVEL) -Wno-unused-variable -Wno-unused-function --std=c99
|
||||
MODEST_CFLAGS += $(MODEST_OPTIMIZATION_LEVEL) -Wno-unused-variable -Wno-unused-function -std=c99
|
||||
|
||||
MODEST_BUILD_SHARED_AFTER += ln -s $(call MODEST_LIBRARY_WITH_VERSION) $(call MODEST_LIBRARY) $(MODEST_UTILS_NEW_LINE)
|
||||
MODEST_BUILD_SHARED_AFTER += ln -s $(call MODEST_LIBRARY_WITH_VERSION) $(call MODEST_LIBRARY_WITH_VERSION_MAJOR) $(MODEST_UTILS_NEW_LINE)
|
||||
|
Loading…
Reference in New Issue
Block a user