fix-Makefile-CC.patch (609B)
- diff --git a/Makefile b/tmp/Makefile
- index fadd473..57000e4 100644
- --- a/Makefile
- +++ b/tmp/Makefile
- @@ -21,7 +21,7 @@
- #
- CFLAGS ?= -O2
- -CC = gcc $(CFLAGS)
- +CC ?= gcc
- PYTHON = python2 -m py_compile
- GZIP = gzip
- @@ -44,7 +44,7 @@ clean:
- $(RM) ./ChangeLog
- build:
- - $(CC) ./src/check_direct_rendering.c -o ./bin/playonlinux-check_dd -lGL -lX11
- + $(CC) $(CFLAGS) ./src/check_direct_rendering.c -o ./bin/playonlinux-check_dd -lGL -lX11
- $(PYTHON) ./python/*.py
- $(PYTHON) ./python/lib/*.py
- echo -e '#!/bin/bash\nGDK_BACKEND=x11 ${sharedir}/playonlinux/playonlinux "$$@"\nexit 0' > ./bin/playonlinux