diff options
| author | grischka <grischka> | 2013-02-14 17:43:24 +0100 |
|---|---|---|
| committer | grischka <grischka> | 2013-02-14 17:43:24 +0100 |
| commit | 762a43877b6edc4a586b2b41f7474eee0adcdcec (patch) | |
| tree | a2c139bc1a70b2e8f2505b6c945dfbe89c21c9ef /Makefile | |
| parent | 99b801dafc664f80910f1c4d5f492170b01c2c3c (diff) | |
| download | tinycc-762a43877b6edc4a586b2b41f7474eee0adcdcec.tar.gz tinycc-762a43877b6edc4a586b2b41f7474eee0adcdcec.tar.bz2 | |
configure: pass CONFIG_xxxDIR/PATH options via commandline
- except for CONFIG_SYSROOT and CONFIG_TCCDIR
Strictly neccessary it is only for CONFIG_MULTIARCHDIR
because otherwise if it's in config.h it is impossible to
leave it undefined.
But it is also nicer not to use these definitions for
cross-compilers.
- Also:
lib/Makefile : include ../Makefile for CFLAGS
lib/libtcc1.c : fix an issue compiling tcc with tcc on x64
Diffstat (limited to 'Makefile')
| -rw-r--r-- | Makefile | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -42,13 +42,13 @@ endif endif ifeq ($(ARCH),i386) -NATIVE_DEFINES=-DTCC_TARGET_I386 +NATIVE_DEFINES+=-DTCC_TARGET_I386 else ifeq ($(ARCH),x86-64) -NATIVE_DEFINES=-DTCC_TARGET_X86_64 +NATIVE_DEFINES+=-DTCC_TARGET_X86_64 endif ifeq ($(ARCH),arm) -NATIVE_DEFINES=-DTCC_TARGET_ARM +NATIVE_DEFINES+=-DTCC_TARGET_ARM NATIVE_DEFINES+=-DWITHOUT_LIBTCC ifneq (,$(wildcard /lib/ld-linux-armhf.so.3 /lib/arm-linux-gnueabihf/ld-linux.so.3)) NATIVE_DEFINES+=-DTCC_ARM_EABI -DTCC_ARM_HARDFLOAT |
