diff --git a/src/xpdev/GNUmakefile b/src/xpdev/GNUmakefile index 9655a07e092eff1784d9567d70368550881efb2d..1778e7a332bf2021e7450dc08aec10ee0f4d50de 100644 --- a/src/xpdev/GNUmakefile +++ b/src/xpdev/GNUmakefile @@ -42,7 +42,7 @@ CFLAGS += -D_THREAD_SAFE LFLAGS := -pthread else # Linux / Other UNIX ifdef bcc -LFLAGS := -q libpthread.a +LFLAGS := libpthread.a else LFLAGS := -lpthread endif @@ -75,5 +75,5 @@ $(ODIR): # Executable Build Rule $(WRAPTEST): $(ODIR)/wraptest.o $(OBJS) @echo Linking $@ - @$(CC) -o $@ $(LFLAGS) $^ + @$(CC) $(CFLAGS) -o $@ $(LFLAGS) $^