summaryrefslogtreecommitdiff
path: root/scripts/ac_build_iraf_pkg
diff options
context:
space:
mode:
authorJames Turner <jturner@gemini.edu>2017-07-26 11:57:37 -0400
committerJames Turner <jturner@gemini.edu>2017-07-26 11:57:37 -0400
commit795af461707dd8130c4609ea4fe58c56ffca44d6 (patch)
treedbbac3f641d15cade2df5fa63c212f731c8e707c /scripts/ac_build_iraf_pkg
parent21a0c50667f952720d2300d111a3d68eeecf209c (diff)
downloadastroconda-iraf-helpers-795af461707dd8130c4609ea4fe58c56ffca44d6.tar.gz
Revert removal of .a and .o files in ac_build_iraf_pkg (in favour of cleaning them up earlier in a recipe's build.sh), because some of the build.sh scripts copy libs into the source tree from elsewhere before running that script.
This reverts commits 21a0c50 and 55f6f47.
Diffstat (limited to 'scripts/ac_build_iraf_pkg')
-rwxr-xr-xscripts/ac_build_iraf_pkg3
1 files changed, 0 insertions, 3 deletions
diff --git a/scripts/ac_build_iraf_pkg b/scripts/ac_build_iraf_pkg
index 8440d16..0428078 100755
--- a/scripts/ac_build_iraf_pkg
+++ b/scripts/ac_build_iraf_pkg
@@ -97,9 +97,6 @@ if [ ! -e bin ]; then
ln -s "bin.$IRAFARCH" bin
fi
-# Remove any old libs that might cause linking complications (& links to them):
-find . \( -name "*.a" -o -name "*.o" \) -exec rm -f {} \;
-
# Enable compilation with debugging symbols (from the STScI IRAF "make_all";
# avoiding trailing space, which gcc fails on as a non-existent filename!):
export XC_LFLAGS="-g${XC_LFLAGS:+ $XC_LFLAGS}"