Magellan Linux

Diff of /smage/trunk/core/glibc/glibc-2.30-r1.smage2

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

revision 13746 by niro, Wed Aug 7 14:53:25 2019 UTC revision 13747 by niro, Wed Aug 7 20:36:26 2019 UTC
# Line 107  src_prepare() Line 107  src_prepare()
107   cd ${SRCDIR}   cd ${SRCDIR}
108    
109   # fix a test case that fails when built using gcc-5.x   # fix a test case that fails when built using gcc-5.x
110   sed -i '/tst-audit2-ENV/i CFLAGS-tst-audit2.c += -fno-builtin' elf/Makefile || die   #sed -i '/tst-audit2-ENV/i CFLAGS-tst-audit2.c += -fno-builtin' elf/Makefile || die
111    
112   # fixes an infinite loop while syscall.d creation   # fixes an infinite loop while syscall.d creation
113   # see: http://sourceware.org/bugzilla/show_bug.cgi?id=15711   # see: http://sourceware.org/bugzilla/show_bug.cgi?id=15711
# Line 121  src_prepare() Line 121  src_prepare()
121   #  /usr/src/glibc-2.16.0.bld/   #  /usr/src/glibc-2.16.0.bld/
122   #  Unmatched ( in regex; marked by <-- HERE in m/$( <-- HERE if $(abi-32-ld-soname),$(abi-32-ld-soname),ld/ at scripts/test-installation.pl line 172, <LDD>   #  Unmatched ( in regex; marked by <-- HERE in m/$( <-- HERE if $(abi-32-ld-soname),$(abi-32-ld-soname),ld/ at scripts/test-installation.pl line 172, <LDD>
123   #  line 1   #  line 1
124   sed -i 's:CC="$(CC)" $(PERL) scripts/test-installation.pl $(common-objpfx)::' Makefile || die   #sed -i 's:CC="$(CC)" $(PERL) scripts/test-installation.pl $(common-objpfx)::' Makefile || die
125    
126   # binutils patch needs reconf   # binutils patch needs reconf
127  # autoconf --force || die  # autoconf --force || die
# Line 174  src_compile() Line 174  src_compile()
174   # enable static pie   # enable static pie
175   myopts+=" --enable-static-pie"   myopts+=" --enable-static-pie"
176   # enable intel cet + branch tracking (IBT) and shadow stack (SHSTK)   # enable intel cet + branch tracking (IBT) and shadow stack (SHSTK)
177   myopts+=" --enable-cet"  # myopts+=" --enable-cet"
178    
179   # remove fortify for building libraries   # remove fortify for building libraries
180   export CPPFLAGS=${CPPFLAGS/-D_FORTIFY_SOURCE=2/}   export CPPFLAGS=${CPPFLAGS/-D_FORTIFY_SOURCE=2/}

Legend:
Removed from v.13746  
changed lines
  Added in v.13747