From 67aa5b4e171303d26e581e5a21b1aef2b8fd1eb8 Mon Sep 17 00:00:00 2001 From: Juan RP Date: Fri, 16 May 2014 10:21:50 +0200 Subject: [PATCH] README: update instructions to customize C{,XX}FLAGS/LDFLAGS. --- README.md | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/README.md b/README.md index 42d40c8c942..1220ca97bfd 100644 --- a/README.md +++ b/README.md @@ -23,5 +23,11 @@ The `etc/defaults.conf` file contains the possible settings that can be override through the `etc/conf` configuration file for the `xbps-src` utility; optionally if `~/.xbps-src.conf` exists it's also read after `etc/conf`. +If you want to customize default `CFLAGS`, `CXXFLAGS` and `LDFLAGS`, don't override +those defined in `etc/defaults.conf`, append to them instead via `etc/conf` i.e: + + $ echo 'CFLAGS+=" your flags here "' >> etc/conf + $ echo 'LDFLAGS+=" your flags here "' >> etc/conf + See [Manual](https://github.com/voidlinux/xbps-packages/blob/master/Manual.md) for documentation to create and learn about the source packages.