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 <jesse@cola.voip.idv.tw>
This commit is contained in:
Wen-chien Jesse Sung 2018-03-09 20:56:15 +08:00
parent bd704d85e8
commit 6d30d778f5

View file

@ -1,5 +1,5 @@
CC = gcc CC = gcc
CFLAGS = -O2 -march=native CFLAGS = -O2
TARGET = hex2hcd TARGET = hex2hcd
PREFIX = /usr/local PREFIX = /usr/local
@ -10,9 +10,9 @@ $(TARGET): $(TARGET).c
install: $(TARGET) install: $(TARGET)
install -m 755 $(TARGET) $(PREFIX)/bin install -m 755 $(TARGET) $(PREFIX)/bin
uninstall: uninstall:
rm -f $(PREFIX)/bin/$(TARGET) rm -f $(PREFIX)/bin/$(TARGET)
clean: clean:
rm -f $(TARGET) rm -f $(TARGET)