Add PaX support.
Mprotect needs to be turned off for Webkit.
This commit is contained in:
parent
957a6f0812
commit
294142a806
1
Makefile
1
Makefile
|
@ -47,6 +47,7 @@ install: all
|
||||||
@mkdir -p ${DESTDIR}${PREFIX}/bin
|
@mkdir -p ${DESTDIR}${PREFIX}/bin
|
||||||
@cp -f surf ${DESTDIR}${PREFIX}/bin
|
@cp -f surf ${DESTDIR}${PREFIX}/bin
|
||||||
@chmod 755 ${DESTDIR}${PREFIX}/bin/surf
|
@chmod 755 ${DESTDIR}${PREFIX}/bin/surf
|
||||||
|
@[ -e /sbin/paxctl ] && /sbin/paxctl -m ${DESTDIR}${PREFIX}/bin/surf
|
||||||
@echo installing manual page to ${DESTDIR}${MANPREFIX}/man1
|
@echo installing manual page to ${DESTDIR}${MANPREFIX}/man1
|
||||||
@mkdir -p ${DESTDIR}${MANPREFIX}/man1
|
@mkdir -p ${DESTDIR}${MANPREFIX}/man1
|
||||||
@sed "s/VERSION/${VERSION}/g" < surf.1 > ${DESTDIR}${MANPREFIX}/man1/surf.1
|
@sed "s/VERSION/${VERSION}/g" < surf.1 > ${DESTDIR}${MANPREFIX}/man1/surf.1
|
||||||
|
|
Loading…
Reference in New Issue