Revert "Revert "Add x86_64 architecture support""

This reverts commit 354630570900cd5c2180610acfa47422ff484fe6

Change-Id: I832a675911f66837f31ea47d19babf5c656bfaf9
Reviewed-on: https://gerrit.chromium.org/gerrit/12044
Commit-Ready: Simon Glass <sjg@chromium.org>
Reviewed-by: Simon Glass <sjg@chromium.org>
Tested-by: Simon Glass <sjg@chromium.org>
diff --git a/Makefile b/Makefile
index 7652bde..19b91d5 100644
--- a/Makefile
+++ b/Makefile
@@ -38,6 +38,10 @@
 	-mpreferred-stack-boundary=2 -mregparm=3 \
 	$(COMMON_FLAGS)
 endif
+ifeq ($(FIRMWARE_ARCH), x86_64)
+CFLAGS ?= $(COMMON_FLAGS) \
+	-fvisibility=hidden -fno-strict-aliasing -fomit-frame-pointer
+endif
 
 CC ?= gcc
 CXX ?= g++