temp workaround for powerpc propolice bug (that etoh is aware of)

This commit is contained in:
pvalchev 2004-12-29 16:44:10 +00:00
parent 8a87bb789a
commit 4c2bd0f4df
2 changed files with 19 additions and 1 deletions

View File

@ -1,4 +1,4 @@
# $OpenBSD: Makefile,v 1.36 2004/12/11 04:59:46 pvalchev Exp $ # $OpenBSD: Makefile,v 1.37 2004/12/29 16:44:10 pvalchev Exp $
# $NetBSD: Makefile,v 1.37 2004/10/03 00:13:16 tv Exp $ # $NetBSD: Makefile,v 1.37 2004/10/03 00:13:16 tv Exp $
COMMENT= "tools to connect your PalmOS® compatible handheld" COMMENT= "tools to connect your PalmOS® compatible handheld"
@ -32,6 +32,10 @@ LIB_DEPENDS= png.4::graphics/png
BROKEN= "You must remove the existing pilot-link installation before compiling this version" BROKEN= "You must remove the existing pilot-link installation before compiling this version"
.endif .endif
.if ${MACHINE_ARCH} == "powerpc"
PATCH_LIST= patch-* gcc-*
.endif
USE_GMAKE= Yes USE_GMAKE= Yes
USE_LIBTOOL= Yes USE_LIBTOOL= Yes
CONFIGURE_STYLE= gnu CONFIGURE_STYLE= gnu

View File

@ -0,0 +1,14 @@
$OpenBSD: gcc-src_pilot-datebook_Makefile_in,v 1.1 2004/12/29 16:44:10 pvalchev Exp $
--- src/pilot-datebook/Makefile.in.orig Wed Dec 29 09:42:12 2004
+++ src/pilot-datebook/Makefile.in Wed Dec 29 09:43:03 2004
@@ -181,8 +181,8 @@ LIBS = @LIBS@
@NEED_GETOPT_TRUE@pilot-datebook-windat.$(OBJEXT)
pilot_datebook_DEPENDENCIES = $(top_builddir)/libpisock/libpisock.la
pilot_datebook_LDFLAGS =
-COMPILE = $(CC) $(DEFS) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
-LTCOMPILE = $(LIBTOOL) --mode=compile $(CC) $(DEFS) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
+COMPILE = $(CC) $(DEFS) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -fno-stack-protector
+LTCOMPILE = $(LIBTOOL) --mode=compile $(CC) $(DEFS) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -fno-stack-protector
CCLD = $(CC)
LINK = $(LIBTOOL) --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) $(LDFLAGS) -o $@
DIST_COMMON = README COPYING Makefile.am Makefile.in parsedate.c