tech-pkg archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: MKPIE problems

			Hi there,

On 29/11/2017 10:15, S.P.Zeidler wrote:
Thus wrote Thomas Klausner (

I see a couple problems when enabling MKPIE (in addition to the other
hardening flags):

same for me with a configure script building C++ source.
Mine get fixed by going:
Index: compiler/
RCS file: /cvsroot/pkgsrc/mk/compiler/,v
retrieving revision 1.188
diff -u -r1.188
--- compiler/     15 Nov 2017 19:04:24 -0000      1.188
+++ compiler/     29 Nov 2017 09:08:56 -0000
@@ -343,6 +343,7 @@
  _GCC_CFLAGS+=          ${_MKPIE_CFLAGS.gcc}
  #_GCC_LDFLAGS+=                ${_MKPIE_LDFLAGS.gcc}  ${_MKPIE_CFLAGS.gcc}
  # this differs for libraries and executables (handled in mk/
  # CWRAPPERS_APPEND.ld+=        ${_MKPIE_LDFLAGS.gcc}

Thank you Petra, it looks good to me; I have just committed it.


Home | Main Index | Thread Index | Old Index