diff options
Diffstat (limited to 'meta-oe/recipes-support/mcelog/mce-test/makefile-remove-ldflags.patch')
-rw-r--r-- | meta-oe/recipes-support/mcelog/mce-test/makefile-remove-ldflags.patch | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/meta-oe/recipes-support/mcelog/mce-test/makefile-remove-ldflags.patch b/meta-oe/recipes-support/mcelog/mce-test/makefile-remove-ldflags.patch new file mode 100644 index 000000000..0ffedd2c1 --- /dev/null +++ b/meta-oe/recipes-support/mcelog/mce-test/makefile-remove-ldflags.patch | |||
@@ -0,0 +1,23 @@ | |||
1 | Remove the default CFLAGS and LDFLAGS in Makefile. Ensure the extra linker flags can be passed. | ||
2 | |||
3 | Upstream-Status: Inappropriate [embedded specific] | ||
4 | |||
5 | Signed-off-by: Yi Zhao <yi.zhao@windriver.com> | ||
6 | |||
7 | diff --git a/cases/stress/hwpoison/Makefile b/cases/stress/hwpoison/Makefile | ||
8 | index da1cbd8..dec5b14 100644 | ||
9 | --- a/cases/stress/hwpoison/Makefile | ||
10 | +++ b/cases/stress/hwpoison/Makefile | ||
11 | @@ -1,8 +1,8 @@ | ||
12 | -CFLAGS := -g -Wall | ||
13 | -LDFLAGS := -g | ||
14 | +#CFLAGS := -g -Wall | ||
15 | +#LDFLAGS := -g | ||
16 | |||
17 | -export CFLAGS | ||
18 | -export LDFLAGS | ||
19 | +#export CFLAGS | ||
20 | +#export LDFLAGS | ||
21 | |||
22 | all: | ||
23 | mkdir -p bin | ||