author | Rich Burridge <rich.burridge@oracle.com> |
Thu, 17 Apr 2014 10:00:40 -0700 | |
changeset 1833 | 0edb05d72e6b |
parent 1605 | 7fc7910b6d94 |
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}