summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAnatol Pomazau <anatol@google.com>2015-02-19 05:11:51 -0800
committerChromeOS Commit Bot <chromeos-commit-bot@chromium.org>2015-02-25 08:45:04 +0000
commit9d437e9122019568df7fa2d602f911e6a873d78b (patch)
tree60f2615322b23cc18f93234a7fc713b21aaa45bd
parent3fec0e47bd618296c03df027990114c221ac645b (diff)
downloadvboot-9d437e9122019568df7fa2d602f911e6a873d78b.tar.gz
Remove duplicated linker flag
We already set '-static' to LDFLAGS above no need to do it again here. TEST=build with 'make' and 'make STATIC=1'. Check that 'STATIC=1' adds '-static' linker flag. BUG=None Change-Id: I83e23984753094af203432eb4570930085788398 Reviewed-on: https://chromium-review.googlesource.com/251151 Reviewed-by: Mike Frysinger <vapier@chromium.org> Reviewed-by: Hung-Te Lin <hungte@chromium.org> Reviewed-by: Anatol Pomazau <anatol@google.com> Commit-Queue: Anatol Pomazau <anatol@google.com> Tested-by: Anatol Pomazau <anatol@google.com>
-rw-r--r--Makefile1
1 files changed, 0 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index dfa971cf..c0c5f50a 100644
--- a/Makefile
+++ b/Makefile
@@ -960,7 +960,6 @@ ${CGPT_WRAPPER}: ${CGPT_WRAPPER_OBJS} ${UTILLIB}
.PHONY: cgpt
cgpt: ${CGPT} ${CGPT_WRAPPER}
-${CGPT}: LDFLAGS += -static
${CGPT}: LDLIBS += -luuid
${CGPT}: ${CGPT_OBJS} ${UTILLIB}