nelhage / reptyr

Reparent a running program to a new terminal
MIT License
5.82k stars 215 forks source link

Use obscure make syntax to make Debian packaging easier #14

Closed ebroder closed 13 years ago

ebroder commented 13 years ago

Debian wants to be able to inject a standard set of buildflags, some based on policy and some based on user input (for instance, -O2, unless DEB_BUILD_OPTIONS is set to noopt)

This patch lets me run "make CFLAGS=foo" and have that foo append, rather than override, the CFLAGS in your Makefile

nelhage commented 13 years ago

lgtm, feel free to merge.

On Mon, Oct 31, 2011 at 9:45 AM, Evan Broder reply@reply.github.com wrote:

Debian wants to be able to inject a standard set of buildflags, some based on policy and some based on user input (for instance, -O2, unless DEB_BUILD_OPTIONS is set to noopt)

This patch lets me run "make CFLAGS=foo" and have that foo append, rather than override, the CFLAGS in your Makefile

You can merge this Pull Request by running:

 git pull https://github.com/ebroder/reptyr master

Or you can view, comment on it, or merge it online at:

 https://github.com/nelhage/reptyr/pull/14

-- Commit Summary --

  • Use override to allow appending build flags from the command line

-- File Changes --

M Makefile (2)

-- Patch Links --

 https://github.com/nelhage/reptyr/pull/14.patch  https://github.com/nelhage/reptyr/pull/14.diff

Reply to this email directly or view it on GitHub: https://github.com/nelhage/reptyr/pull/14