aboutsummaryrefslogtreecommitdiff
path: root/gcc/config.gcc
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/config.gcc')
-rw-r--r--gcc/config.gcc4
1 files changed, 3 insertions, 1 deletions
diff --git a/gcc/config.gcc b/gcc/config.gcc
index e03b5cb..f0e6c4b 100644
--- a/gcc/config.gcc
+++ b/gcc/config.gcc
@@ -792,7 +792,9 @@ case ${target} in
target_has_targetcm=yes
;;
*-*-netbsd*)
- tmake_file="t-slibgcc"
+ tm_p_file="${tm_p_file} netbsd-protos.h"
+ tmake_file="t-netbsd t-slibgcc"
+ extra_objs="${extra_objs} netbsd.o"
gas=yes
gnu_ld=yes
use_gcc_stdint=wrap