Compare commits

...

3 commits

Author SHA1 Message Date
Richard Goedeken
47f8e92e9a
Merge pull request #91 from orbea/strict-aliasing
build: remove -fno-strict-aliasing
2024-11-03 17:44:22 -08:00
orbea
1b7c25cdaa build: remove -fno-strict-aliasing
It compiles with -Werror=strict-aliasing so this is not required.
2024-11-03 12:34:08 -08:00
orbea
5532574896 Remove executable permissions from the Makefile
mode change 100755 => 100644 projects/unix/Makefile
2024-11-03 12:32:20 -08:00

2
projects/unix/Makefile Executable file → Normal file
View file

@ -147,7 +147,7 @@ OBJDIR = _obj$(POSTFIX)
# base CFLAGS, LDLIBS, and LDFLAGS
OPTFLAGS ?= -O3 -flto
WARNFLAGS ?= -Wall
CFLAGS += $(OPTFLAGS) $(WARNFLAGS) -ffast-math -fno-strict-aliasing -fvisibility=hidden -I$(SRCDIR)
CFLAGS += $(OPTFLAGS) $(WARNFLAGS) -ffast-math -fvisibility=hidden -I$(SRCDIR)
LDFLAGS += $(SHARED)
# Since we are building a shared library, we must compile with -fPIC on some architectures