Commit a276562e authored by Matthias Braun's avatar Matthias Braun
Browse files

link libfirm.so with libm

parent d700598b
......@@ -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)/%))
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment