Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 5 Jan 1999 16:38:05 +1030 (CST)
From:      Kris Kennaway <kkennawa@physics.adelaide.edu.au>
To:        Hidetoshi Shimokawa <simokawa@FreeBSD.ORG>
Cc:        cvs-committers@FreeBSD.ORG, cvs-all@FreeBSD.ORG, ports@FreeBSD.ORG
Subject:   Re: cvs commit: ports/graphics/giftrans Makefile ports/graphics/mpeg2codec/patches patch-aa ports/graphics/splitmpg/patches patch-aa         ports/graphics/xdl/patches patch-aa
Message-ID:  <Pine.OSF.4.05.9901051634230.21257-100000@bragg>
In-Reply-To: <199901050600.WAA13024@freefall.freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help
On Mon, 4 Jan 1999, Hidetoshi Shimokawa wrote:

>   Log:
>   remove -m486 option for alpha.

===================================================================
RCS file: /home/ncvs/ports/graphics/mpeg2codec/patches/patch-aa,v
retrieving revision 1.2
retrieving revision 1.3
diff -p -u -r1.2 -r1.3
--- ports/graphics/mpeg2codec/patches/patch-aa  1996/12/09 15:37:24     1.2
+++ /home/ncvs/ports/graphics/mpeg2codec/patches/patch-aa       1999/01/05
06:00:09     1.3
@@ -33,9 +33,8 @@
  # GNU gcc
  #
 -CC = gcc
--CFLAGS = -O2
 +CC = cc
-+CFLAGS = -O2 -m486
+ CFLAGS = -O2
  
  all: mpeg2decode mpeg2encode
  
Erm, wouldn't it be better to just do
CFLAGS ?= -O2
CFLAGS += <anything else the port needs>

like I suggested on freebsd-ports when the PR was opened? Alpha people
presumably wouldn't have CFLAGS=-m486 defined, so this works for them as well
as anyone else who wants to use different optimization switches than the port
was written with.

Kris

-----
(ASP) Microsoft Corporation (MSFT) announced today that the release of its 
productivity suite, Office 2000, will be delayed until the first quarter
of 1901.


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-ports" in the body of the message



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.OSF.4.05.9901051634230.21257-100000>