On Solaris, freopen() has different semantics when the filename argument
is NULL (such as the one in 7e5880e0) and _XOPEN_SOURCE != 600.
---
common.mak | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/common.mak b/common.mak
index 98c274e..ea43ae0 100644
--- a/common.mak
+++ b/common.mak
@@ -33,7 +33,7 @@ checkheaders: $(filter-out
$(SKIPHEADERS:.h=.ho),$(ALLHEADERS:.h=.ho))
alltools: $(TOOLS)
$(HOSTOBJS): %.o: %.c
- $(HOSTCC) $(HOSTCFLAGS) -c -o $@ $<
+ $(HOSTCC) $(CPPFLAGS) $(HOSTCFLAGS) -c -o $@ $<
$(HOSTPROGS): %$(HOSTEXESUF): %.o
$(HOSTCC) $(HOSTLDFLAGS) -o $@ $< $(HOSTLIBS)
--
1.7.8.5
_______________________________________________
libav-devel mailing list
[email protected]
https://lists.libav.org/mailman/listinfo/libav-devel