Skip to content
This repository has been archived by the owner on Oct 12, 2022. It is now read-only.

Commit

Permalink
Merge pull request #1378 from MartinNowak/master
Browse files Browse the repository at this point in the history
filter on basename of compilers
  • Loading branch information
CyberShadow committed Sep 6, 2015
2 parents acb8611 + 7b1a611 commit b83f84e
Showing 1 changed file with 6 additions and 9 deletions.
15 changes: 6 additions & 9 deletions posix.mak
Expand Up @@ -40,17 +40,14 @@ endif
DDOCFLAGS=-conf= -c -w -o- -Isrc -Iimport -version=CoreDdoc

# Set CFLAGS
CFLAGS=
ifneq (,$(filter cc% gcc% clang% icc% egcc%, $(CC)))
CFLAGS += $(MODEL_FLAG) -fPIC -DHAVE_UNISTD_H
ifeq ($(BUILD),debug)
CFLAGS += -g
else
CFLAGS += -O3
endif
CFLAGS=$(MODEL_FLAG) -fPIC -DHAVE_UNISTD_H
ifeq ($(BUILD),debug)
CFLAGS += -g
else
CFLAGS += -O3
endif
ifeq (solaris,$(OS))
CFLAGS+=-D_REENTRANT # for thread-safe errno
CFLAGS+=-D_REENTRANT # for thread-safe errno
endif

# Set DFLAGS
Expand Down

0 comments on commit b83f84e

Please sign in to comment.