logo

etc_portage

Unnamed repository; edit this file 'description' to name the repository. git clone https://hacktivis.me/git/etc_portage.git

fix-Makefile-CC.patch (609B)


  1. diff --git a/Makefile b/tmp/Makefile
  2. index fadd473..57000e4 100644
  3. --- a/Makefile
  4. +++ b/tmp/Makefile
  5. @@ -21,7 +21,7 @@
  6. #
  7. CFLAGS ?= -O2
  8. -CC = gcc $(CFLAGS)
  9. +CC ?= gcc
  10. PYTHON = python2 -m py_compile
  11. GZIP = gzip
  12. @@ -44,7 +44,7 @@ clean:
  13. $(RM) ./ChangeLog
  14. build:
  15. - $(CC) ./src/check_direct_rendering.c -o ./bin/playonlinux-check_dd -lGL -lX11
  16. + $(CC) $(CFLAGS) ./src/check_direct_rendering.c -o ./bin/playonlinux-check_dd -lGL -lX11
  17. $(PYTHON) ./python/*.py
  18. $(PYTHON) ./python/lib/*.py
  19. echo -e '#!/bin/bash\nGDK_BACKEND=x11 ${sharedir}/playonlinux/playonlinux "$$@"\nexit 0' > ./bin/playonlinux