mirror of
https://sourceware.org/git/binutils-gdb.git
synced 2025-01-30 12:44:10 +08:00
* configure.in: check whether host and target makefile
fragments exist before adding them to *_makefile_frag
This commit is contained in:
parent
13151a934d
commit
8e12359329
@ -284,7 +284,9 @@ if [ x${shared} = xyes ]; then
|
||||
host_makefile_frag="${host_makefile_frag} config/mh-elfalphapic"
|
||||
;;
|
||||
*)
|
||||
host_makefile_frag="${host_makefile_frag} config/mh-${host_cpu}pic"
|
||||
if test -f config/mh-${host_cpu}pic; then
|
||||
host_makefile_frag="${host_makefile_frag} config/mh-${host_cpu}pic"
|
||||
fi
|
||||
;;
|
||||
esac
|
||||
fi
|
||||
@ -956,7 +958,9 @@ if [ x${shared} = xyes ]; then
|
||||
target_makefile_frag="${target_makefile_frag} config/mt-elfalphapic"
|
||||
;;
|
||||
*)
|
||||
target_makefile_frag="${target_makefile_frag} config/mt-${target_cpu}pic"
|
||||
if test -f config/mt-${target_cpu}pic; then
|
||||
target_makefile_frag="${target_makefile_frag} config/mt-${target_cpu}pic"
|
||||
fi
|
||||
;;
|
||||
esac
|
||||
fi
|
||||
|
Loading…
Reference in New Issue
Block a user