Skip to content

Commit

Permalink
Update GNUmakefile: Support Solaris/illumos w/GCC
Browse files Browse the repository at this point in the history
  • Loading branch information
johnsonjh committed Apr 7, 2021
1 parent 543ddf4 commit dd72ede
Showing 1 changed file with 19 additions and 0 deletions.
19 changes: 19 additions & 0 deletions GNUmakefile
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,25 @@ CFEXTRA=-pipe
#CFEXTRA+=-Ofast -fomit-frame-pointer -march=native \
# -fstack-protector-strong -D_FORTIFY_SOURCE=2

#############################################################################

ifeq ($(OS), sunos)
CFL=-O2 -fcommon $(CFEXTRA)
CC=gcc
SYSTYPE=SYSV
OPTIONS=-D$(SYSTYPE)=1 -DRUNOPTS=1 -DUSEDIRENT=1
CFLAGS+=$(CFL) $(OPTIONS)
RM=rm -f
TEST=test
SIZE=size
STRIP=strip
MKDIR=mkdir -p
CP=cp -f
OBJE=.o
MINCE_CONFIGURED=1
endif


#############################################################################

ifeq ($(OS), haiku)
Expand Down

0 comments on commit dd72ede

Please sign in to comment.