Re: HEADS UP: Ports are not ready for CFLAGS=-O2 in 6.0

From: Tomasz Pilat <poncki.lists_at_axelspringer.com.pl>
Date: Tue, 5 Jul 2005 18:16:15 +0200
> Just add something like this to your /etc/make.conf:

> .if ${.CURDIR} == "/usr/ports"
>         CFLAGS= -O -pipe
> .elif ${.CURDIR} == "/usr/src"
>         CFLAGS= -O2 -pipe
> .else
>         CFLAGS= -O3 -pipe
> .endif

Grrr, need some coffee or sleep... ;~)

.if ${.CURDIR} == "/usr/src"
         CFLAGS= -O2 -pipe
.else
         CFLAGS= -O -pipe
.endif

Ponc
-- 
Tomasz Piłat                          http://poncki.freebsd.pl./
AXEL SPRINGER POLSKA Sp. z o.o.       PONC-RIPE | PGPKEY-EDEB47FC

A: Because it messes up the order in which people normally read text.
Q: Why is top-posting such a bad thing?
A: Top-posting.
Q: What is the most annoying thing on e-mail/Usenet?
Received on Tue Jul 05 2005 - 14:14:17 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:38:38 UTC