From 4f526d2d64923dada78f6eb5c5a746a19f6c1807 Mon Sep 17 00:00:00 2001 From: Jim Meyering Date: Sat, 7 Mar 2009 13:27:29 +0100 Subject: build: avoid "multiply defined..." warning from automake * Makefile.am (AM_CFLAGS): Add $(WARN_CFLAGS) via +=, not =, to avoid "multiply defined..." warning from automake. --- lib/Makefile.am | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'lib') diff --git a/lib/Makefile.am b/lib/Makefile.am index 15ec0ea33..074cc9cfc 100644 --- a/lib/Makefile.am +++ b/lib/Makefile.am @@ -1,6 +1,6 @@ ## Makefile for gnulib/lib -*-Makefile-*- -# Copyright (C) 1995-2007 Free Software Foundation, Inc. +# Copyright (C) 1995-2007, 2009 Free Software Foundation, Inc. ## This program is free software: you can redistribute it and/or modify ## it under the terms of the GNU General Public License as published by @@ -17,7 +17,7 @@ include gnulib.mk -AM_CFLAGS = $(WARN_CFLAGS) # $(WERROR_CFLAGS) +AM_CFLAGS += $(WARN_CFLAGS) # $(WERROR_CFLAGS) libcoreutils_a_SOURCES += \ buffer-lcm.c buffer-lcm.h \ -- cgit v1.2.3-70-g09d2