History

lddir-on-x86-64: let CONFIG_LDDIR=lib64 by default if TCC_TARGET_X86_64 This is done for the case when CONFIG_LDDIR is not configured. Example: ./configure --enable-cross

seyko committed 11 years ago

Commit 2d83ec71 parent b5f88b51 file · +5 −1Browse files

Unified · Split

tcc.h+5−1
@@ -205,7 +205,11 @@ · 204 unmodified lines
205205 # define CONFIG_TCCDIR "."
206206 #endif
207207 #ifndef CONFIG_LDDIR
208−# define CONFIG_LDDIR "lib"
208+# ifdef TCC_TARGET_X86_64
209+# define CONFIG_LDDIR "lib64"
210+# else
211+# define CONFIG_LDDIR "lib"
212+# endif
209213 #endif
210214
211215 #ifdef CONFIG_MULTIARCHDIR

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t