commit 9e19b0be1f7b0ff12fed11e2714023e19f16d184 parent 862fb88d29b3b6a88bd0ef1eebd3a5b91d321078 Author: Michael Savage <mikejsavage@gmail.com> Date: Sat Jan 30 14:26:28 +0000 Move -pthread to LDFLAGS Diffstat:
Makefile | | | 4 | ++-- |
diff --git a/Makefile b/Makefile @@ -17,8 +17,8 @@ COMMON_OBJS := memory_arena.o work_queue.o immediate.o benchmark.o stb_truetype. WARNINGS := -Wall -Wextra -Wno-unused-parameter -Wno-unused-function CXXFLAGS += -std=c++11 -O2 \ - -msse2 -pthread -ggdb3 -fno-omit-frame-pointer $(WARNINGS) -DGL_GLEXT_PROTOTYPES -DGLFW_INCLUDE_NONE -ffreestanding -fno-exceptions -LDFLAGS += -lm + -msse2 -ggdb3 -fno-omit-frame-pointer $(WARNINGS) -DGL_GLEXT_PROTOTYPES -DGLFW_INCLUDE_NONE -ffreestanding -fno-exceptions +LDFLAGS += -lm -pthread STB_OBJS := $(addsuffix .o,$(STBS)) STB_CCS := $(addsuffix .cc,$(STBS))