aboutsummaryrefslogtreecommitdiff
path: root/gas/configure.in
diff options
context:
space:
mode:
Diffstat (limited to 'gas/configure.in')
-rw-r--r--gas/configure.in14
1 files changed, 7 insertions, 7 deletions
diff --git a/gas/configure.in b/gas/configure.in
index d4413c9..4839064 100644
--- a/gas/configure.in
+++ b/gas/configure.in
@@ -338,8 +338,11 @@ case ${bfd_gas} in
esac
case ${need_bfd} in
- yes) bfdlib="BFDLIB=../bfd/libbfd.a" ;;
- *) bfdlib="" ;;
+ yes) bfdlib="BFDLIB=../bfd/libbfd.a"
+ all_obj_deps="$all_obj_deps ../bfd/bfd.h"
+ ;;
+ *) bfdlib=""
+ ;;
esac
case "x${host}" in
@@ -349,11 +352,8 @@ esac
rm -f Makefile.tem
echo $cross > Makefile.tem
-case "$extra_def" in
- "") ;;
- *) echo defs=$extra_def >> Makefile.tem
- ;;
-esac
+echo ALL_OBJ_DEPS=$all_obj_deps >> Makefile.tem
+echo defs=$extra_def >> Makefile.tem
echo $bfdlib >> Makefile.tem
echo "OPCODES_LIB=$opcodes" >> Makefile.tem
cat Makefile >> Makefile.tem