Updated guide compiling with clang (deleted STRIPFLAG variable).
This commit is contained in:
parent
e41236883e
commit
ce3d868dbc
|
@ -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:
|
||||
|
||||
|
|
|
@ -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)
|
||||
|
|
Loading…
Reference in New Issue