]> git.decadent.org.uk Git - videolink.git/blobdiff - Makefile
Added hack to treat alert prompts as fatal errors.
[videolink.git] / Makefile
index 7f091327843f70e96456d533f5d8e29cb0452c7b..036d0f9a47b68d334fb7e0b053d671af765d7f7d 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -14,11 +14,11 @@ moz_version_major := $(word 1,$(subst ., ,$(moz_version)))
 moz_version_minor := $(word 2,$(subst ., ,$(moz_version)))
 moz_version_patchlevel := $(word 3,$(subst ., ,$(moz_version)))
 
-CFLAGS := -Wall
+CFLAGS := -ansi -Wall
 CPPFLAGS := -D_REENTRANT
 # Non-virtual destructors are fine in XPCOM interface classes since
 # instances are only ever called by the Release function which is virtual.
-CXXFLAGS := -Wall -Wno-non-virtual-dtor
+CXXFLAGS := -ansi -Wall -Wno-non-virtual-dtor
 LDFLAGS := -lpthread $(shell pkg-config --libs gtkmm-2.0 mozilla-gtkmozembed) \
            -Wl,-rpath -Wl,$(moz_lib_dir) -lexpat
 
@@ -73,6 +73,8 @@ link_iterator.% style_sheets.% webdvd.%                                    \
     : CPPFLAGS += $(addprefix -I$(moz_include_dir)/,                       \
                     content docshell dom gfx layout necko webshell widget)
 
+null_prompt_service.% : CPPFLAGS += -I$(moz_include_dir)/uconv
+
 %.d : %.cpp
        $(CXX) $(CXXFLAGS) $(CPPFLAGS) -MM -MF $@ $<