Skip to content
Discussion options

You must be logged in to vote
❯ sudo make install
[sudo] password for ahloi:
cc -std=c11 -Wall -Wextra -Wshadow -O3 -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -o nnn src/nnn.c -lreadline -lncursesw -lpthread

This ended up recompiling the binary, but without the flags hence your issue. Run sudo make O_NERD=1 O_RESTOREPREVIEW=1 install directly and it should work.

Though I guess we could try to reset the mtime of the source file after unpatching so that it doesn't trigger unnecessary re-compilation.

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@ahloiscreamo
Comment options

Answer selected by ahloiscreamo
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants