Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
Zwinkau
libfirm
Commits
a276562e
Commit
a276562e
authored
Dec 15, 2011
by
Matthias Braun
Browse files
link libfirm.so with libm
parent
d700598b
Changes
1
Hide whitespace changes
Inline
Side-by-side
Makefile
View file @
a276562e
...
...
@@ -35,7 +35,7 @@ CFLAGS_optimize = $(CFLAGS_all) -O3 -DNDEBUG
# General flags
CFLAGS
+=
$
(
CFLAGS_
$(variant)
)
CFLAGS
+=
-Wall
-W
-Wextra
-Wstrict-prototypes
-Wmissing-prototypes
-Wwrite-strings
LINKFLAGS
+=
$
(
LINKFLAGS_
$(variant)
)
LINKFLAGS
+=
$
(
LINKFLAGS_
$(variant)
)
-lm
VPATH
=
$(srcdir)
REVISION
?=
$(
shell
git describe
--abbrev
=
40
--always
--dirty
--match
''
)
...
...
@@ -170,7 +170,7 @@ $(libfirm_a): $(libfirm_OBJECTS)
$(libfirm_dll)
:
$(libfirm_OBJECTS)
@
echo
LINK
$@
$(Q)$(LINK)
-shared
-o
$@
$^
$(Q)$(LINK)
-shared
$(LINKFLAGS)
-o
$@
$^
# Generic rules
UNUSED
:=
$(
shell
mkdir
-p
$
(
libfirm_DIRS:%
=
$(builddir)
/%
))
...
...
Write
Preview
Supports
Markdown
0%
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!
Cancel
Please
register
or
sign in
to comment