Removed -march=native from Makefile
This commit is contained in:
2
Makefile
2
Makefile
@@ -9,7 +9,7 @@ ifeq ($(BUILD),debug)
|
|||||||
STRIP_CMD = $(info Skipping `strip` for debug builds)
|
STRIP_CMD = $(info Skipping `strip` for debug builds)
|
||||||
# ASAN = -lasan
|
# ASAN = -lasan
|
||||||
else
|
else
|
||||||
CFLAGS_BUILD = -O2 -march=native -Wstringop-overflow=0
|
CFLAGS_BUILD = -O2 -Wstringop-overflow=0
|
||||||
GLAD_GEN = c
|
GLAD_GEN = c
|
||||||
STRIP_CMD = strip --strip-all glava
|
STRIP_CMD = strip --strip-all glava
|
||||||
endif
|
endif
|
||||||
|
|||||||
@@ -8,7 +8,7 @@
|
|||||||
```bash
|
```bash
|
||||||
$ git clone --recursive https://github.com/wacossusca34/glava
|
$ git clone --recursive https://github.com/wacossusca34/glava
|
||||||
$ cd glava
|
$ cd glava
|
||||||
$ make
|
$ CFLAGS="-march=native" make
|
||||||
$ sudo make install
|
$ sudo make install
|
||||||
$ glava
|
$ glava
|
||||||
```
|
```
|
||||||
|
|||||||
Reference in New Issue
Block a user