Ticket #15647: lua-add-fpic.patch

File lua-add-fpic.patch, 337 bytes (added by oskari.rauta@…, 4 years ago)
  • package/utils/lua/Makefile

    diff --git a/package/utils/lua/Makefile b/package/utils/lua/Makefile
    index e7e011a..76eb6ac 100644
    a b endif 
    132132 
    133133define Host/Compile 
    134134        $(MAKE) -C $(HOST_BUILD_DIR) \ 
    135                 CC="$(HOSTCC) -std=gnu99" \ 
     135                CC="$(HOSTCC) -std=gnu99 -fPIC" \ 
    136136                $(LUA_OS) 
    137137endef 
    138138