aboutsummaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorgrischka <grischka>2007-12-16 18:24:44 +0000
committergrischka <grischka>2007-12-16 18:24:44 +0000
commit6c96c41ee49c11dda436eecc23beea002eace19e (patch)
tree76d3c00ca47a08c133372e73298a4d9ef655aa79 /Makefile
parentf466577673ed9e61124f50fa59c351f16c27388e (diff)
downloadtinycc-6c96c41ee49c11dda436eecc23beea002eace19e.tar.gz
tinycc-6c96c41ee49c11dda436eecc23beea002eace19e.tar.bz2
Import changesets (part 4) 428,457,460,467: defines for openbsd etc.
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile5
1 files changed, 4 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index eda0889..502b0d4 100644
--- a/Makefile
+++ b/Makefile
@@ -5,7 +5,10 @@ include config.mak
CFLAGS+=-g -Wall
ifndef CONFIG_WIN32
-LIBS=-ldl
+LIBS=-lm
+ifndef CONFIG_NOLDL
+LIBS+=-ldl
+endif
BCHECK_O=bcheck.o
endif
CFLAGS_P=$(CFLAGS) -pg -static -DCONFIG_TCC_STATIC