mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-01-03 13:27:28 -08:00
Closes: https://bugs.gentoo.org/726006 Signed-off-by: Arthur Zamarin <arthurzam@gentoo.org>
19 lines
484 B
Diff
19 lines
484 B
Diff
--- a/Makefile
|
|
+++ b/Makefile
|
|
@@ -1,5 +1,5 @@
|
|
SHELL=bash
|
|
-CFLAGS=-std=gnu99 -static -s -Wall -Werror -O3
|
|
+CFLAGS+=-std=gnu99
|
|
|
|
TEST_PACKAGE_DEPS := build-essential python python-pip procps python-dev python-setuptools
|
|
|
|
@@ -8,7 +8,7 @@ VERSION = $(shell cat VERSION)
|
|
|
|
.PHONY: build
|
|
build: VERSION.h
|
|
- $(CC) $(CFLAGS) -o dumb-init dumb-init.c
|
|
+ $(CC) $(CFLAGS) $(LDFLAGS) -o dumb-init dumb-init.c
|
|
|
|
VERSION.h: VERSION
|
|
echo '// THIS FILE IS AUTOMATICALLY GENERATED' > VERSION.h
|