commit d87e5f4286a6ce81175ee895af4aa73d507000d5 parent 76ec24bfdeabfa400e2d41d65443ab1993edffb8 Author: Michael Savage <mikejsavage@gmail.com> Date: Sat Jan 30 14:42:28 +0000 Remove -ffreestanding because it breaks the clang build Diffstat:
Makefile | | | 2 | +- |
diff --git a/Makefile b/Makefile @@ -22,7 +22,7 @@ COMMON_OBJS := memory_arena.o work_queue.o immediate.o benchmark.o stb_truetype. # Compiler flags WARNINGS := -Wall -Wextra -Wno-unused-parameter -Wno-unused-function CXXFLAGS += -std=c++11 -O2 \ - -msse3 -ggdb3 -fno-omit-frame-pointer $(WARNINGS) -DGL_GLEXT_PROTOTYPES -DGLFW_INCLUDE_NONE -ffreestanding -fno-exceptions + -msse3 -ggdb3 -fno-omit-frame-pointer $(WARNINGS) -DGL_GLEXT_PROTOTYPES -DGLFW_INCLUDE_NONE -fno-exceptions LDFLAGS += -lm -pthread # The STB libraries need you to pass -DSTB_*_IMPLEMENTATION to get the actual code