diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2020-09-30 17:27:54 +0100 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2020-09-30 17:27:54 +0100 |
commit | f70a1bfc721336d4fc7dfb711c2f518a6b18cf16 (patch) | |
tree | e907cb121b30e3c1df1710719c0ddf4029597a47 /sys-apps/opal-utils/files/flags.patch | |
parent | db063b515939ab15261136b24e4bc44386335c0c (diff) |
gentoo resync : 30.09.2020
Diffstat (limited to 'sys-apps/opal-utils/files/flags.patch')
-rw-r--r-- | sys-apps/opal-utils/files/flags.patch | 35 |
1 files changed, 35 insertions, 0 deletions
diff --git a/sys-apps/opal-utils/files/flags.patch b/sys-apps/opal-utils/files/flags.patch new file mode 100644 index 000000000000..5aa045ed1ca1 --- /dev/null +++ b/sys-apps/opal-utils/files/flags.patch @@ -0,0 +1,35 @@ +From 828c1c28c314c62cf90b9b989f92af7ea96c100d Mon Sep 17 00:00:00 2001 +From: Georgy Yakovlev <gyakovlev@gentoo.org> +Date: Sun, 27 Sep 2020 18:48:38 -0700 +Subject: [PATCH] respect user flags + +--- + external/ffspart/rules.mk | 2 +- + external/opal-prd/Makefile | 2 +- + 2 files changed, 2 insertions(+), 2 deletions(-) + +diff --git a/external/ffspart/rules.mk b/external/ffspart/rules.mk +index 40972c6..09a025f 100644 +--- a/external/ffspart/rules.mk ++++ b/external/ffspart/rules.mk +@@ -30,5 +30,5 @@ $(LIBFLASH_OBJS): libflash-%.o : libflash/%.c + $(Q_CC)$(CC) $(CFLAGS) -c $< -o $@ + + $(EXE): $(OBJS) +- $(Q_CC)$(CC) $(CFLAGS) $^ -lrt -o $@ ++ $(Q_CC)$(CC) $(CFLAGS) $^ -lrt $(LDFLAGS) -o $@ + +diff --git a/external/opal-prd/Makefile b/external/opal-prd/Makefile +index fb9402f..52f10d9 100644 +--- a/external/opal-prd/Makefile ++++ b/external/opal-prd/Makefile +@@ -1,5 +1,5 @@ + # SPDX-License-Identifier: Apache-2.0 +-CFLAGS += -m64 -Werror -Wall -g2 -ggdb ++CFLAGS += -m64 -Wall + LDFLAGS += -m64 + ASFLAGS = -m64 + CPPFLAGS += -I. -I../../include -I../../ +-- +2.28.0 + |