mirror of
https://github.com/Interlisp/maiko.git
synced 2026-01-26 11:52:25 +00:00
Remove -funsigned-char from standard compilation options (Issue Interlisp/medley#152) (#229)
Add standardized options for Oracle Developer Studio C compiler (aka SunPro C) Using -funsigned-char causes the Oracle Developer Studio C compiler typedefs for int8_t to become unsigned (uint8_t) rather than signed, with no warning or other indication that this has happened.
This commit is contained in:
@@ -14,8 +14,9 @@ AR = ar rcv
|
||||
ANSICC = $(CC)
|
||||
|
||||
# Compiler flags
|
||||
CLANG_CFLAGS = -std=gnu99 -funsigned-char -fno-strict-aliasing -fwrapv
|
||||
GCC_CFLAGS = -std=gnu99 -funsigned-char -fno-strict-aliasing -fwrapv
|
||||
CLANG_CFLAGS = -std=gnu99 -fno-strict-aliasing -fwrapv
|
||||
GCC_CFLAGS = -std=gnu99 -fno-strict-aliasing -fwrapv
|
||||
DEVSTUDIO_CFLAGS = -std=gnu99 -fno-strict-aliasing
|
||||
|
||||
# for the files that need to be included in byte-swapped implementations:
|
||||
BYTESWAPFILES =
|
||||
|
||||
@@ -15,9 +15,9 @@
|
||||
# Setup for using gcc
|
||||
# CC = gcc $(GCC_CFLAGS)
|
||||
# Setup for using Solaris Developer Studio 12.6 cc
|
||||
# CC = cc -m32 -funsigned-char
|
||||
# CC = cc -m32 $(DEVSTUDIO_CFLAGS)
|
||||
|
||||
CC = cc -m32 -funsigned-char -O2
|
||||
CC = cc -m32 $(DEVSTUDIO_CFLAGS)
|
||||
|
||||
XFILES = $(OBJECTDIR)xmkicon.o \
|
||||
$(OBJECTDIR)xbbt.o \
|
||||
|
||||
Reference in New Issue
Block a user