Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
Zwinkau
libfirm
Commits
75f30157
Commit
75f30157
authored
Oct 19, 2011
by
Matthias Braun
Browse files
we (also) build a shared lib for which some architecture require PIC code
parent
a64441f8
Changes
1
Hide whitespace changes
Inline
Side-by-side
Makefile
View file @
75f30157
...
...
@@ -25,10 +25,11 @@ RANLIB ?= ranlib
DLLEXT
?=
.so
# Variants
CFLAGS_debug
=
-O0
-g3
-DDEBUG_libfirm
CFLAGS_profile
=
-O3
-pg
-DNDEBUG
-fno-inline
CFLAGS_all
=
-fPIC
CFLAGS_debug
=
$(CFLAGS_all)
-O0
-g3
-DDEBUG_libfirm
CFLAGS_profile
=
$(CFLAGS_all)
-O3
-pg
-DNDEBUG
-fno-inline
LINKFLAGS_profile
=
-pg
CFLAGS_optimize
=
-O3
-DNDEBUG
CFLAGS_optimize
=
$(CFLAGS_all)
-O3
-DNDEBUG
# General flags
CFLAGS
+=
$
(
CFLAGS_
$(variant)
)
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment