From c3744455d2cc678705d91ea1bc254e6640c9e5d1 Mon Sep 17 00:00:00 2001 From: Mark Linimon Date: Mon, 13 Dec 2004 00:28:39 +0000 Subject: [PATCH] Remove spaces between variable names and assignment operators in pieces of Makefiles shown in programlistings. Spotted by: simon --- en_US.ISO8859-1/books/porters-handbook/book.sgml | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/en_US.ISO8859-1/books/porters-handbook/book.sgml b/en_US.ISO8859-1/books/porters-handbook/book.sgml index 99e0e68728..940567418e 100644 --- a/en_US.ISO8859-1/books/porters-handbook/book.sgml +++ b/en_US.ISO8859-1/books/porters-handbook/book.sgml @@ -7889,15 +7889,15 @@ bopm:*:717: both CC and CXX variables follows. Note the ?=: - CC ?= gcc - CXX ?= g++ + CC?= gcc + CXX?= g++ Here is an example which respects neither CC nor CXX variables: - CC = gcc - CXX = g++ + CC= gcc + CXX= g++ Both CC and CFLAGS variables can be defined on FreeBSD systems in @@ -7925,12 +7925,12 @@ bopm:*:717: the CFLAGS variable follows. Note the +=: - CFLAGS += -Wall -Werror + CFLAGS+= -Wall -Werror Here is an example which does not respect the CFLAGS variable: - CFLAGS = -Wall -Werror + CFLAGS= -Wall -Werror The CFLAGS variable is defined on FreeBSD systems in /etc/make.conf. The @@ -7944,13 +7944,13 @@ bopm:*:717: contains system-wide optimization flags. An example from an unmodified Makefile: - CFLAGS = -O3 -funroll-loops -DHAVE_SOUND + CFLAGS= -O3 -funroll-loops -DHAVE_SOUND Using system optimization flags, the Makefile would look similar to the following example: - CFLAGS += -DHAVE_SOUND + CFLAGS+= -DHAVE_SOUND