diff options
author | Ralf Corsepius <ralf.corsepius@rtems.org> | 2011-04-03 06:27:46 +0000 |
---|---|---|
committer | Ralf Corsepius <ralf.corsepius@rtems.org> | 2011-04-03 06:27:46 +0000 |
commit | 4c97b4766d994033f8436bb42e9ec2629a7e2d99 (patch) | |
tree | e2883766960daaada869b0f53129532148a72db8 /contrib | |
parent | Remove @tool_target@-@tool_target@-gccgo. (diff) | |
download | rtems-4c97b4766d994033f8436bb42e9ec2629a7e2d99.tar.bz2 |
Handle /go subdirs.
Diffstat (limited to 'contrib')
-rw-r--r-- | contrib/crossrpms/gcc/install.add | 13 |
1 files changed, 12 insertions, 1 deletions
diff --git a/contrib/crossrpms/gcc/install.add b/contrib/crossrpms/gcc/install.add index 3005fa4eb2..7a9728dc61 100644 --- a/contrib/crossrpms/gcc/install.add +++ b/contrib/crossrpms/gcc/install.add @@ -119,6 +119,17 @@ cp dirs build/files.g++ cp dirs build/files.go +%if %build_go +# Collect /go subdirs + TGTDIR="%{_gcclibdir}/gcc/@tool_target@/%{gcc_version}" + for i in $multilibs; do + case $i in + \. ) echo "${TGTDIR}/go" >> build/files.go ;; + *) echo "${TGTDIR}/$i/go" >> build/files.go ;; + esac + done + +%endif TGTDIR="%{_gcclibdir}/gcc/@tool_target@/%{gcc_version}" f=`find ${RPM_BUILD_ROOT}${TGTDIR} ! -type d -print | sed -e "s,^$RPM_BUILD_ROOT,,g"`; for i in $f; do @@ -137,7 +148,7 @@ *include/c++*);; *include-fixed/*);; *finclude/*);; - */go/*);; + */go/*) ;; # ignore : explicitly put into rpm elsewhere *adainclude*);; *adalib*);; *gnat1);; |