aboutsummaryrefslogtreecommitdiffstats
path: root/meta-oe/recipes-support/mcelog/mce-test/makefile-remove-ldflags.patch
blob: 0ffedd2c177ae6f5f0ac9a0f160456f0d17b06d7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
Remove the default CFLAGS and LDFLAGS in Makefile. Ensure the extra linker flags can be passed.

Upstream-Status: Inappropriate [embedded specific]

Signed-off-by: Yi Zhao <yi.zhao@windriver.com>

diff --git a/cases/stress/hwpoison/Makefile b/cases/stress/hwpoison/Makefile
index da1cbd8..dec5b14 100644
--- a/cases/stress/hwpoison/Makefile
+++ b/cases/stress/hwpoison/Makefile
@@ -1,8 +1,8 @@
-CFLAGS := -g -Wall
-LDFLAGS := -g
+#CFLAGS := -g -Wall
+#LDFLAGS := -g
 
-export CFLAGS
-export LDFLAGS
+#export CFLAGS
+#export LDFLAGS
 
 all:
 	mkdir -p bin