Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 184123 | Differences between
and this patch

Collapse All | Expand All

(-)oss-v4.1-build1052b-src-gpl/setup/srcconf.c (-1 / +1 lines)
Lines 730-736 Link Here
730
730
731
  if (conf.mode == MD_KERNEL || conf.mode == MD_MODULE)
731
  if (conf.mode == MD_KERNEL || conf.mode == MD_MODULE)
732
    {
732
    {
733
      fprintf (f, "CFLAGS=-D_KERNEL\n");
733
      fprintf (f, "CFLAGS=-nopie -D_KERNEL\n");
734
#ifdef sun
734
#ifdef sun
735
      /* fprintf(f, "CFLAGS += -xmodel=kernel\n"); */
735
      /* fprintf(f, "CFLAGS += -xmodel=kernel\n"); */
736
#endif
736
#endif

Return to bug 184123