You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

14 lines
560 B

  1. --- a/src/makefile
  2. +++ b/src/makefile
  3. @@ -163,9 +163,8 @@ DEF_linux=-DLUASOCKET_$(DEBUG) -DLUA_$(COMPAT)_MODULE \
  4. -DLUASOCKET_API='__attribute__((visibility("default")))' \
  5. -DUNIX_API='__attribute__((visibility("default")))' \
  6. -DMIME_API='__attribute__((visibility("default")))'
  7. -CFLAGS_linux= -I$(LUAINC) $(DEF) -pedantic -Wall -Wshadow -Wextra \
  8. - -Wimplicit -O2 -ggdb3 -fpic -fvisibility=hidden
  9. -LDFLAGS_linux=-O -shared -fpic -o
  10. +CFLAGS_linux= -I$(LUAINC) $(DEF) -fvisibility=hidden
  11. +LDFLAGS_linux=-shared -o
  12. LD_linux=gcc
  13. SOCKET_linux=usocket.o