History

Various fixes for f9ac2013

Thomas Preud'homme committed 13 years ago

Commit a4cbd9b1 parent f9ac2011 file · +3 −7Browse files

Unified · Split

configure+3−7
@@ -261,7 +261,7 @@ if $cc -o $TMPO $TMPC 2> /dev/null ; then · 260 unmodified lines
261261 fi
262262
263263 if test -z "$cross_prefix" ; then
264− libc_dir="$(ldd ./print_env_info | grep libc.so | sed 's|[^/]*/\(.*/\)[^/]*|\1|')"
264+ libc_dir="$(ldd $TMPO | grep libc.so | sed 's|[^/]*/\(.*/\)[^/]*|\1|')"
265265 multiarch_triplet=${libc_dir#*/}
266266 multiarch_triplet=${multiarch_triplet%/}
267267 lddir="${libc_dir%%/*}"
@@ -418,6 +418,8 @@ print_var2 CONFIG_TCC_SYSINCLUDEPATHS "$tcc_sysincludepaths" · 150 unmodified lines
418418 print_var2 CONFIG_TCC_LIBPATHS "$tcc_libpaths"
419419 print_var2 CONFIG_TCC_CRTPREFIX "$tcc_crtprefix"
420420 print_var2 CONFIG_TCC_ELFINTERP "$tcc_elfinterp"
421+print_var2 CONFIG_MULTIARCHDIR "$multiarch_triplet"
422+print_var2 CONFIG_LDDIR "$lddir"
421423
422424 echo "#define GCC_MAJOR $gcc_major" >> $TMPH
423425
@@ -501,12 +503,6 @@ if test "$have_selinux" = "yes" ; then · 77 unmodified lines
501503 echo "#define HAVE_SELINUX" >> $TMPH
502504 echo "HAVE_SELINUX=yes" >> config.mak
503505 fi
504−if test -n "$multiarch_triplet" ; then
505− echo "#define CONFIG_MULTIARCHDIR \"$multiarch_triplet\"" >> $TMPH
506−fi
507−if test -n "$lddir" ; then
508− echo "#define CONFIG_LDDIR \"$lddir\"" >> $TMPH
509−fi
510506
511507 version=`head $source_path/VERSION`
512508 echo "VERSION=$version" >>config.mak

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