diff options
| author | Thomas Preud'homme <thomas.preudhomme@celest.fr> | 2011-08-01 15:39:38 +0200 |
|---|---|---|
| committer | Thomas Preud'homme <thomas.preudhomme@celest.fr> | 2011-08-01 15:39:38 +0200 |
| commit | 5e954fef32ec8b630132c230793e0f3faca34e0a (patch) | |
| tree | 9e4ca19dec0aaf02685b068dca81dcdc64808cb0 /tcc.h | |
| parent | df9cce24a87442079d878978e56caa0787f37e1a (diff) | |
| download | tinycc-5e954fef32ec8b630132c230793e0f3faca34e0a.tar.gz tinycc-5e954fef32ec8b630132c230793e0f3faca34e0a.tar.bz2 | |
Set CONFIG_TCC_CRT_PREFIX relative to CONFIG_SYSROOT
Set CONFIG_TCC_CRT_PREFIX relative to CONFIG_SYSROOT for consistency
with CONFIG_TCC_LDDIR.
Diffstat (limited to 'tcc.h')
| -rw-r--r-- | tcc.h | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -149,7 +149,7 @@ typedef int BOOL; /* path to find crt1.o, crti.o and crtn.o */ #ifndef CONFIG_TCC_CRT_PREFIX -# define CONFIG_TCC_CRT_PREFIX CONFIG_SYSROOT "/usr" CONFIG_TCC_LDDIR +# define CONFIG_TCC_CRT_PREFIX "/usr" CONFIG_TCC_LDDIR #endif #ifndef CONFIG_TCC_SYSINCLUDE_PATHS @@ -165,7 +165,7 @@ typedef int BOOL; # define CONFIG_TCC_LIBPATH "\b/lib" # else # define CONFIG_TCC_LIBPATH \ - CONFIG_TCC_CRT_PREFIX \ + CONFIG_SYSROOT CONFIG_TCC_CRT_PREFIX \ ":" CONFIG_SYSROOT CONFIG_TCC_LDDIR \ ":" CONFIG_SYSROOT "/usr/local" CONFIG_TCC_LDDIR # endif |
