Skip to content
Snippets Groups Projects
Commit c660ce88 authored by Micah Elizabeth Scott's avatar Micah Elizabeth Scott
Browse files

Disable exceptions & RTTI

parent 15669772
No related branches found
No related tags found
No related merge requests found
......@@ -4,12 +4,19 @@ PROGRAMS = simple rings spokes dot particle_trail mixer
CFLAGS = -O3 -ffast-math
# Standard libraries
LFLAGS = -lm -lstdc++
LFLAGS = -lm -lstdc++ -lpthread
# Debugging
CFLAGS += -g -Wall -Wno-tautological-constant-out-of-range-compare -Wno-gnu-static-float-init
CFLAGS += -g -Wall
LFLAGS += -g
# Annoying warnings on by default on Mac OS
CFLAGS += -Wno-tautological-constant-out-of-range-compare -Wno-gnu-static-float-init
# Disable exceptions and RTTI
CFLAGS += -fno-exceptions -fno-rtti
all: $(PROGRAMS)
.cpp:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment