aboutsummaryrefslogtreecommitdiff
path: root/tcc.h
diff options
context:
space:
mode:
authorgrischka <grischka>2013-02-04 16:11:17 +0100
committergrischka <grischka>2013-02-04 16:24:58 +0100
commit3186455599043938d765b4cc9b92af5fde7241cd (patch)
tree07a51ca78fce6db0b5286910c33f9c59830f96a0 /tcc.h
parent4c2941d2486f0635aa70de1d429594b1e0b32186 (diff)
downloadtinycc-3186455599043938d765b4cc9b92af5fde7241cd.tar.gz
tinycc-3186455599043938d765b4cc9b92af5fde7241cd.tar.bz2
Makefile: allow CONFIG_LDDIR=lib64 configuration
Diffstat (limited to 'tcc.h')
-rw-r--r--tcc.h10
1 files changed, 5 insertions, 5 deletions
diff --git a/tcc.h b/tcc.h
index 5949ab6..b98025c 100644
--- a/tcc.h
+++ b/tcc.h
@@ -152,12 +152,12 @@
# define CONFIG_SYSROOT ""
#endif
-#ifdef CONFIG_MULTIARCHDIR
-# define CONFIG_LDDIR "lib/" CONFIG_MULTIARCHDIR
-#endif
-
#ifndef CONFIG_LDDIR
-# define CONFIG_LDDIR "lib"
+# ifdef CONFIG_MULTIARCHDIR
+# define CONFIG_LDDIR "lib/" CONFIG_MULTIARCHDIR
+# else
+# define CONFIG_LDDIR "lib"
+# endif
#endif
/* path to find crt1.o, crti.o and crtn.o */