From 6d30d778f548200beb4c3ae02176ac6952f3a7ea Mon Sep 17 00:00:00 2001 From: Wen-chien Jesse Sung Date: Fri, 9 Mar 2018 20:56:15 +0800 Subject: [PATCH] Remove -march=native It causes issues for some platforms. And for a tiny program which only got run once, we don't really need it anyway. This should fix #2. Signed-off-by: Wen-chien Jesse Sung --- Makefile | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/Makefile b/Makefile index 5968037..c9a98fe 100644 --- a/Makefile +++ b/Makefile @@ -1,5 +1,5 @@ CC = gcc -CFLAGS = -O2 -march=native +CFLAGS = -O2 TARGET = hex2hcd PREFIX = /usr/local @@ -10,9 +10,9 @@ $(TARGET): $(TARGET).c install: $(TARGET) install -m 755 $(TARGET) $(PREFIX)/bin - -uninstall: + +uninstall: rm -f $(PREFIX)/bin/$(TARGET) -clean: +clean: rm -f $(TARGET)