diff options
author | Eric Christopher <echristo@apple.com> | 2011-10-26 00:42:12 +0000 |
---|---|---|
committer | Stephen Hines <srhines@google.com> | 2011-11-14 09:11:15 -0800 |
commit | 85fd5b069e326621a4d109586efd6bfe1f059be0 (patch) | |
tree | f92b9683872f2dcc3e1046d9b1132d7d745fc7ec /autoconf/ltmain.sh | |
parent | e8f680af0c7bd55c9d5ebabec7a98a7ae5849439 (diff) | |
download | external_llvm-85fd5b069e326621a4d109586efd6bfe1f059be0.zip external_llvm-85fd5b069e326621a4d109586efd6bfe1f059be0.tar.gz external_llvm-85fd5b069e326621a4d109586efd6bfe1f059be0.tar.bz2 |
Handle newer cases for freebsd which is approaching 10.0 and not 1.0.
Patch by Dimitry Andric!
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@142995 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'autoconf/ltmain.sh')
-rw-r--r-- | autoconf/ltmain.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/autoconf/ltmain.sh b/autoconf/ltmain.sh index 06823e0..2455278 100644 --- a/autoconf/ltmain.sh +++ b/autoconf/ltmain.sh @@ -4668,7 +4668,7 @@ static const void *lt_preloaded_setup() { # linked before any other PIC object. But we must not use # pic_flag when linking with -static. The problem exists in # FreeBSD 2.2.6 and is fixed in FreeBSD 3.1. - *-*-freebsd2*|*-*-freebsd3.0*|*-*-freebsdelf3.0*) + *-*-freebsd2.*|*-*-freebsd3.0*|*-*-freebsdelf3.0*) case "$compile_command " in *" -static "*) ;; *) pic_flag_for_symtable=" $pic_flag -DFREEBSD_WORKAROUND";; |