aboutsummaryrefslogtreecommitdiff
path: root/configure
diff options
context:
space:
mode:
authorminux <minux.ma@gmail.com>2014-04-12 01:42:46 -0400
committerminux <minux.ma@gmail.com>2014-04-12 01:42:46 -0400
commit9714d2e75f70f8fcca9fd7b596440a346e504742 (patch)
tree3529f71b42f39478f70f066e669076476f50cc32 /configure
parent469ae3a7e57aba6fd0f53afdf2657d8f1a439928 (diff)
downloadtinycc-9714d2e75f70f8fcca9fd7b596440a346e504742.tar.gz
tinycc-9714d2e75f70f8fcca9fd7b596440a346e504742.tar.bz2
build: add initial NetBSD support.
Not able to generate ELF files on NetBSD yet (lacks the note and crt1.o is actually named crt0.o on NetBSD), but -run works with these extra defines: -D__lint__ -D"__symbolrename(x)=asm(#x)" -D__NetBSD__ The -D__lint__ is an ugly hack, TCC should be able to emulate GCC just fine, but it seems TCC doesn't support __builtin_va_list yet? typedef __builtin_va_list __va_list; /usr/include/sys/ansi.h:72: error: ';' expected (got "__va_list")
Diffstat (limited to 'configure')
-rwxr-xr-xconfigure1
1 files changed, 1 insertions, 0 deletions
diff --git a/configure b/configure
index 8c44e5c..c309de6 100755
--- a/configure
+++ b/configure
@@ -56,6 +56,7 @@ case $targetos in
DragonFly) noldl=yes;;
OpenBSD) noldl=yes;;
FreeBSD) noldl=yes;;
+ NetBSD) noldl=yes;;
*) ;;
esac