Skip to content
Snippets Groups Projects
Commit 7d14f4d6 authored by deuce's avatar deuce
Browse files

xpbeep requires libm for sin() and atan()

parent 29df0de6
No related branches found
No related tags found
No related merge requests found
...@@ -181,6 +181,7 @@ OBJODIR := $(CCPRE).$(machine).obj.$(BUILDPATH) ...@@ -181,6 +181,7 @@ OBJODIR := $(CCPRE).$(machine).obj.$(BUILDPATH)
MTOBJODIR := $(CCPRE).$(machine).obj.$(BUILDPATH)-mt MTOBJODIR := $(CCPRE).$(machine).obj.$(BUILDPATH)-mt
EXEODIR := $(CCPRE).$(machine).exe.$(BUILDPATH) EXEODIR := $(CCPRE).$(machine).exe.$(BUILDPATH)
LDFLAGS += -L$(LIBODIR) LDFLAGS += -L$(LIBODIR)
LDFLAGS += -lm
ifeq ($(os),openbsd) ifeq ($(os),openbsd)
DELETE := rm -f DELETE := rm -f
...@@ -221,7 +222,6 @@ ifeq ($(os),netbsd) # NetBSD ...@@ -221,7 +222,6 @@ ifeq ($(os),netbsd) # NetBSD
endif endif
ifeq ($(os),darwin) ifeq ($(os),darwin)
CFLAGS += -D__unix__ -fno-common -D__DARWIN__ CFLAGS += -D__unix__ -fno-common -D__DARWIN__
LDFLAGS += -lm
endif endif
# PThread-specific flags # PThread-specific flags
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment