Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
F
Fadecandy
Manage
Activity
Members
Code
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
scanlime
Fadecandy
Commits
c660ce88
Commit
c660ce88
authored
11 years ago
by
Micah Elizabeth Scott
Browse files
Options
Downloads
Patches
Plain Diff
Disable exceptions & RTTI
parent
15669772
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
examples/cpp/Makefile
+9
-2
9 additions, 2 deletions
examples/cpp/Makefile
with
9 additions
and
2 deletions
examples/cpp/Makefile
+
9
−
2
View file @
c660ce88
...
...
@@ -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
:
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment