Updated guide compiling with clang (deleted STRIPFLAG variable).

This commit is contained in:
Elijah 2022-08-12 14:15:36 +00:00
parent e41236883e
commit ce3d868dbc
2 changed files with 3 additions and 4 deletions

View File

@ -76,7 +76,7 @@ make
sudo make install
```
If you prefer gcc, then run `make CC=gcc` instead of `make`.
Also, if you prefer clang, run `make CC=clang STRIPFLAG=`
Also, if you prefer clang, run `make CC=clang.`
Here some tips for installing dependencies on some distros:

View File

@ -3,7 +3,7 @@ PREFIX = /usr/local
MANPREFIX = $(PREFIX)/share/man
# Name of program
VERSION = 1.1.0
VERSION = 1.1.1
NAME = pipeplayer
# Compiler
@ -14,6 +14,5 @@ PKG_CONFIG = pkg-config
LIBS = -lpthread `$(PKG_CONFIG) -libs libmpg123 ao`
# Flags
STRIPFLAG = -s
CFLAGS = -O2 -Wall
LDFLAGS = -O2 $(STRIPFLAG) $(LIBS)
LDFLAGS = -O2 -s $(LIBS)