Magellan Linux

Diff of /trunk/extras/spidermonkey/spidermonkey-52.7.3-r1.smage2

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 30869 by niro, Wed May 2 09:42:44 2018 UTC revision 30874 by niro, Thu May 3 09:08:17 2018 UTC
# Line 65  src_prepare() Line 65  src_prepare()
65    
66  src_compile()  src_compile()
67  {  {
68     export CPPFLAGS=""
69   export CFLAGS+=' -fno-delete-null-pointer-checks -fno-strict-aliasing -fno-tree-vrp -flto=3'   export CFLAGS+=' -fno-delete-null-pointer-checks -fno-strict-aliasing -fno-tree-vrp -flto=3'
70   export CXXFLAGS+=' -fno-delete-null-pointer-checks -fno-strict-aliasing -fno-tree-vrp -flto=3'   export CXXFLAGS+=' -fno-delete-null-pointer-checks -fno-strict-aliasing -fno-tree-vrp -flto=3'
71   export CC=gcc   export CC=gcc
72   export CXX=g++   export CXX=g++
73     export SHELL="${SHELL}"
74    
75   SRCSUBDIR="js/src" \   SRCSUBDIR="js/src" \
76   mconfigure \   mconfigure \
# Line 88  src_compile() Line 90  src_compile()
90   --without-system-icu \   --without-system-icu \
91   || die   || die
92    
93   SRCSUBDIR="js/src" mmake || die   # shell export fixes some bugs in a chroot environment
94     # see: http://comments.gmane.org/gmane.linux.lfs.beyond.support/47450
95     SRCSUBDIR="js/src" SHELL="${SHELL}" mmake || die
96  }  }
97    
98  src_install()  src_install()
99  {  {
100   SRCSUBDIR="js/src" mmake DESTDIR=${BINDIR} install || die   SRCSUBDIR="js/src" SHELL="${SHELL}" mmake DESTDIR=${BINDIR} install || die
101  }  }

Legend:
Removed from v.30869  
changed lines
  Added in v.30874