[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Propagate $compiler_flags
From: |
Albert Chin |
Subject: |
Propagate $compiler_flags |
Date: |
Thu, 2 Sep 2004 20:28:12 -0500 |
User-agent: |
Mutt/1.5.6i |
Why don't we use $compiler_flags when using $LTCC?
--
albert chin (address@hidden)
-- snip snip
2004-09-02 Albert Chin-A-Young <address@hidden>
* config/ltmain.in (func_generate_dlsyms): Use $compiler_flags
when invoking compiler with $LTCC.
Index: config/ltmain.in
===================================================================
RCS file: /cvsroot/libtool/libtool/config/ltmain.in,v
retrieving revision 1.12
diff -u -3 -p -r1.12 ltmain.in
--- config/ltmain.in 1 Sep 2004 09:48:25 -0000 1.12
+++ config/ltmain.in 3 Sep 2004 01:23:49 -0000
@@ -1017,8 +1017,8 @@ static const void *lt_preloaded_setup()
esac
# Now compile the dynamic symbol file.
- $show "(cd $output_objdir && $LTCC
-c$no_builtin_flag$pic_flag_for_symtable \"$my_dlsyms\")"
- $run eval '(cd $output_objdir && $LTCC
-c$no_builtin_flag$pic_flag_for_symtable "$my_dlsyms")' || exit $?
+ $show "(cd $output_objdir && $LTCC $compiler_flags
-c$no_builtin_flag$pic_flag_for_symtable \"$my_dlsyms\")"
+ $run eval '(cd $output_objdir && $LTCC $compiler_flags
-c$no_builtin_flag$pic_flag_for_symtable "$my_dlsyms")' || exit $?
# Clean up the generated files.
$show "$rm $output_objdir/$my_dlsyms $nlist ${nlist}S ${nlist}T"
- Propagate $compiler_flags,
Albert Chin <=