diff options
| -rw-r--r-- | emu/NetBSD/mkfile | 1 | ||||
| -rw-r--r-- | mkfiles/mkfile-NetBSD-386 | 2 | ||||
| -rw-r--r-- | mkfiles/mkfile-NetBSD-arm | 3 | ||||
| -rw-r--r-- | mkfiles/mkfile-NetBSD-power | 2 |
4 files changed, 8 insertions, 0 deletions
diff --git a/emu/NetBSD/mkfile b/emu/NetBSD/mkfile index 17516997..6a9b6a5c 100644 --- a/emu/NetBSD/mkfile +++ b/emu/NetBSD/mkfile @@ -40,6 +40,7 @@ default:V: $O.$CONF $O.$CONF: $OBJ $CONF.c $CONF.root.h $LIBFILES $CC $CFLAGS '-DKERNDATE='$KERNDATE $CONF.c $LD $LDFLAGS -o $target $OBJ $CONF.$O $LIBFILES $SYSLIBS + $PAXCTL $target install:V: $O.$CONF cp $O.$CONF $INSTALLDIR/$CONF diff --git a/mkfiles/mkfile-NetBSD-386 b/mkfiles/mkfile-NetBSD-386 index 99ae6687..39e8ed5d 100644 --- a/mkfiles/mkfile-NetBSD-386 +++ b/mkfiles/mkfile-NetBSD-386 @@ -26,5 +26,7 @@ LDFLAGS= SYSLIBS= +PAXCTL= : + YACC= iyacc YFLAGS= -d diff --git a/mkfiles/mkfile-NetBSD-arm b/mkfiles/mkfile-NetBSD-arm index a022c05b..581bca9d 100644 --- a/mkfiles/mkfile-NetBSD-arm +++ b/mkfiles/mkfile-NetBSD-arm @@ -26,5 +26,8 @@ LDFLAGS= SYSLIBS= +# disable PaX mprotect(2) restrictions for JIT +PAXCTL= paxctl +m + YACC= iyacc YFLAGS= -d diff --git a/mkfiles/mkfile-NetBSD-power b/mkfiles/mkfile-NetBSD-power index 1ac7e58e..ae7f86c8 100644 --- a/mkfiles/mkfile-NetBSD-power +++ b/mkfiles/mkfile-NetBSD-power @@ -26,5 +26,7 @@ LDFLAGS= SYSLIBS= +PAXCTL= : + YACC= iyacc YFLAGS= -d |
