openbsd-ports/print/cups/patches/patch-config-scripts_cups-compiler_m4
ajacoutot ba797c978f Update to cups-2.3.0.
- tested in a bulk
- print tested on Canon iR1435, Samsung SL-M2835DW, HP Officejet 7500 E910
and Canon iR-ADV C3320
2019-08-25 09:59:18 +00:00

17 lines
436 B
Plaintext

$OpenBSD: patch-config-scripts_cups-compiler_m4,v 1.11 2019/08/25 09:59:18 ajacoutot Exp $
/usr/bin/ld: error: -shared and -pie may not be used together
Index: config-scripts/cups-compiler.m4
--- config-scripts/cups-compiler.m4.orig
+++ config-scripts/cups-compiler.m4
@@ -157,6 +157,8 @@ if test -n "$GCC"; then
AC_MSG_RESULT(no))
;;
+ openbsd*)
+ ;;
*)
CFLAGS="$CFLAGS -fPIE -pie"
AC_TRY_COMPILE(,,[