  #
  # Makefile for musl (requires GNU make)
  #
-@@ -34,8 +41,8 @@
+@@ -34,8 +42,8 @@
  EMPTY_LIB_NAMES = m rt pthread crypt util xnet resolv dl
  EMPTY_LIBS = $(EMPTY_LIB_NAMES:%=lib/lib%.a)
  CRT_LIBS = lib/crt1.o lib/crti.o lib/crtn.o

 #ifdef __cplusplus
--- Makefile
+++ Makefile
@@ -1,3 +1,10 @@
+LIBNAME := c
+LIBNAME := c
+LIBNAME := c

 #define IPV6_ROUTER_ALERT       22
 #define IPV6_MTU_DISCOVER       23
 #define IPV6_MTU                24
@@ -285,8 +58,6 @@
 #define IPV6_RECVTCLASS         66
 #define IPV6_TCLASS             67
 
