From dad589c943a80386c3698780b119d82177822433 Mon Sep 17 00:00:00 2001 From: Dylan Araps Date: Thu, 16 May 2019 11:08:40 +0300 Subject: [PATCH] docs: update --- README.md | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/README.md b/README.md index ae9674cf..24e1403a 100644 --- a/README.md +++ b/README.md @@ -52,6 +52,8 @@ done < depends * [`version`](#version) * [`checksums`](#checksums) * [`post-install`](#post-install) +* [Frequently asked questions](#frequently-asked-questions) + * [How do I change compiler options globally?](#how-do-i-change-compiler-options-globally) @@ -187,3 +189,10 @@ c3e5e9fdd5004dcb542feda5ee4f0ff0744628baf8ed2dd5d66f8ca1197cb1a1 zlib-1.2.11.ta ### `post-install` The `post-install` file should contain any steps required directly after the package is installed. This includes updating font databases and creating any post-install symlinks which may be required. + + +## Frequently asked questions + +### How do I change compiler options globally? + +All you need to do is define `CFLAGS` in your environment. Either give it to `puke` directly (`CFLAGS=-O3 ./puke build zlib`) or set it in your shell's RC file.