From f4753e3c6c73b28f82b9470320dc7dd40c7fcd2d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Pi=C3=B1a=20Colada?= Date: Thu, 13 May 2021 00:45:23 +0530 Subject: [PATCH] Updated Developer guides (markdown) --- Developer-guides.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Developer-guides.md b/Developer-guides.md index b92e373..f8d1241 100644 --- a/Developer-guides.md +++ b/Developer-guides.md @@ -193,10 +193,10 @@ In this example we will compile `nnn` with [netbsd-curses](https://github.com/sa #### Compile `nnn` # shared - musl-gcc -O3 -DNORL -I/path_to/netbsd-curses/libcurses -o nnn src/nnn.c -Wl,-Bsymbolic-functions -L/opt/netbsd-curses -lcurses -lterminfo + musl-gcc -O3 -DNORL -DNOMOUSE -std=c11 -Wall -Wextra -Wshadow -I/path_to/netbsd-curses/libcurses -o nnn src/nnn.c -Wl,-Bsymbolic-functions -L/opt/netbsd-curses -lcurses -lterminfo # shared custom - musl-gcc -O3 -DNORL -DNOLOCALE -DNOMOUSE -DNOBATCH -DNOFIFO -DTOURBIN_QSORT -DNOSSN -DNOUG -DNOX11 -march=corei7 -I/path_to/netbsd-curses/libcurses -o nnn src/nnn.c -Wl,-Bsymbolic-functions -L/opt/netbsd-curses -lcurses -lterminfo + musl-gcc -O3 -DNORL -DNOLOCALE -DNOMOUSE -DNOBATCH -DNOFIFO -DTOURBIN_QSORT -DNOSSN -DNOUG -DNOX11 -std=c11 -Wall -Wextra -Wshadow -march=corei7 -I/path_to/netbsd-curses/libcurses -o nnn src/nnn.c -Wl,-Bsymbolic-functions -L/opt/netbsd-curses -lcurses -lterminfo # Note: For static compilation append `-static` to the above commands