From e1f33c874d69da2f562b5c74ed7414adce9880af Mon Sep 17 00:00:00 2001 From: antoine Date: Thu, 30 May 2013 19:51:38 +0000 Subject: - Respect CFLAGS - Unbreak with clang using -Wno-error=return-type (old K&R code) Approved by: miwi, eadler (mentors, implicit) --- archivers/squsq/Makefile | 1 + archivers/squsq/files/Makefile | 4 ++-- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/archivers/squsq/Makefile b/archivers/squsq/Makefile index 20bb9d5ecdcd..0ed690beca87 100644 --- a/archivers/squsq/Makefile +++ b/archivers/squsq/Makefile @@ -13,6 +13,7 @@ COMMENT= Compressor/decompressor for CP/M "Squeeze" compressed files CONFLICTS= squirrel-[0-9]* WRKSRC= ${WRKDIR}/t20-squsq MAKEFILE= ${FILESDIR}/Makefile +CFLAGS+= -Wno-error=return-type PLIST_FILES= bin/sq bin/usq diff --git a/archivers/squsq/files/Makefile b/archivers/squsq/files/Makefile index d68d213ea716..0bb01ad1b83c 100644 --- a/archivers/squsq/files/Makefile +++ b/archivers/squsq/files/Makefile @@ -5,7 +5,7 @@ all: sq usq sq: sq.o tr1.o tr2.o sqio.o - ${CC} -o $@ $> + ${CC} ${CFLAGS} -o $@ $> usq: usq.o utr.o - ${CC} -o $@ $> + ${CC} ${CFLAGS} -o $@ $> -- cgit