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:
parent
bd704d85e8
commit
6d30d778f5
1 changed files with 4 additions and 4 deletions
8
Makefile
8
Makefile
|
@ -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)
|
||||||
|
|
Loading…
Reference in a new issue