author | Drew Fisher <drew.fisher@oracle.com> |
Fri, 14 Oct 2016 08:02:40 -0700 | |
branch | s11u3-sru |
changeset 7131 | 91c8a4919493 |
parent 3033 | c90fa3307f21 |
permissions | -rwxr-xr-x |
#! /bin/sh # Wrapper script to work-around the fact that for Python 2.6, # /usr/lib/python2.6/config/Makefile always inserts -KPIC when # building shared objects regardless of the compiler version. GCC=/usr/gcc/4.7/bin/gcc newargs="" for arg in $@; do case ${arg} in '-KPIC') continue ;; *) newargs="${newargs} ${arg}" ;; esac done exec ${GCC} ${newargs}