mirror of
https://github.com/lexborisov/Modest
synced 2024-11-22 05:41:32 +03:00
Fix Makefile's for MSYS* of cygwin
This commit is contained in:
parent
c0877a7b5a
commit
3ae6381670
6
Makefile
6
Makefile
@ -14,7 +14,11 @@ BIN_TMP := bin
|
||||
MODEST_OPTIMIZATION_LEVEL ?= -O2
|
||||
|
||||
CFLAGS ?= -Wall -Werror
|
||||
CFLAGS += $(MODEST_OPTIMIZATION_LEVEL) -Wno-unused-variable -fPIC --std=c99 -I$(SRCDIR)
|
||||
CFLAGS += $(MODEST_OPTIMIZATION_LEVEL) -Wno-unused-variable --std=c99 -I$(SRCDIR)
|
||||
|
||||
ifneq ($(OS),Windows_NT)
|
||||
CFLAGS += -fPIC
|
||||
endif
|
||||
|
||||
ifdef MODEST_BUILD_DEBUG
|
||||
CFLAGS += -g
|
||||
|
@ -10,7 +10,11 @@ INCLUDE_TMP := include
|
||||
MODEST_OPTIMIZATION_LEVEL ?= -O2
|
||||
|
||||
CFLAGS ?= -Wall -Werror
|
||||
CFLAGS += $(MODEST_OPTIMIZATION_LEVEL) -Wno-unused-variable -fPIC --std=c99 -I../include
|
||||
CFLAGS += $(MODEST_OPTIMIZATION_LEVEL) -Wno-unused-variable --std=c99 -I../include
|
||||
|
||||
ifneq ($(OS),Windows_NT)
|
||||
CFLAGS += -fPIC
|
||||
endif
|
||||
|
||||
MODEST_BUILD_WITHOUT_THREADS ?= NO
|
||||
ifeq ($(MODEST_BUILD_WITHOUT_THREADS),YES)
|
||||
|
@ -10,7 +10,11 @@ INCLUDE_TMP := include
|
||||
MODEST_OPTIMIZATION_LEVEL ?= -O2
|
||||
|
||||
CFLAGS ?= -Wall -Werror
|
||||
CFLAGS += $(MODEST_OPTIMIZATION_LEVEL) -Wno-unused-variable -fPIC --std=c99 -I../include
|
||||
CFLAGS += $(MODEST_OPTIMIZATION_LEVEL) -Wno-unused-variable --std=c99 -I../include
|
||||
|
||||
ifneq ($(OS),Windows_NT)
|
||||
CFLAGS += -fPIC
|
||||
endif
|
||||
|
||||
MODEST_BUILD_WITHOUT_THREADS ?= NO
|
||||
ifeq ($(MODEST_BUILD_WITHOUT_THREADS),YES)
|
||||
|
Loading…
Reference in New Issue
Block a user