Fix build with Sun Studio
This commit is contained in:
@@ -55,5 +55,4 @@ AM_CPPFLAGS = -I$(top_srcdir)
|
|||||||
$(LIBTOOL) --mode=compile --tag NASM $(srcdir)/nasm_lt.sh $(NASM) $(NAFLAGS) -I$(srcdir) $< -o $@
|
$(LIBTOOL) --mode=compile --tag NASM $(srcdir)/nasm_lt.sh $(NASM) $(NAFLAGS) -I$(srcdir) $< -o $@
|
||||||
|
|
||||||
jsimdcfg.inc: $(srcdir)/jsimdcfg.inc.h ../jpeglib.h ../jconfig.h ../jmorecfg.h
|
jsimdcfg.inc: $(srcdir)/jsimdcfg.inc.h ../jpeglib.h ../jconfig.h ../jmorecfg.h
|
||||||
$(CPP) -I$(top_builddir) -I$(top_builddir)/simd $(srcdir)/jsimdcfg.inc.h | $(EGREP) ^[\;%] | sed 's%_cpp_protection_%%' > $@
|
$(CPP) -I$(top_builddir) -I$(top_builddir)/simd $(srcdir)/jsimdcfg.inc.h | $(EGREP) "^[\;%]|^\ %" | sed 's%_cpp_protection_%%' | sed 's@% define@%define@g' > $@
|
||||||
|
|
||||||
|
|||||||
@@ -5,7 +5,7 @@ o_opt=no
|
|||||||
pic=no
|
pic=no
|
||||||
while [ $# -gt 0 ]; do
|
while [ $# -gt 0 ]; do
|
||||||
case "$1" in
|
case "$1" in
|
||||||
-DPIC|-fPIC|-fpic)
|
-DPIC|-fPIC|-fpic|-Kpic|-KPIC)
|
||||||
if [ "$pic" != "yes" ] ; then
|
if [ "$pic" != "yes" ] ; then
|
||||||
command="$command -DPIC"
|
command="$command -DPIC"
|
||||||
pic=yes
|
pic=yes
|
||||||
|
|||||||
Reference in New Issue
Block a user