mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-27 04:05:32 +00:00
f8824f7e03
For some mysterious reason, the plugin crashes when loaded under the -std=gnu89 that we use by default for C.
16 lines
645 B
Makefile
16 lines
645 B
Makefile
# This Source Code Form is subject to the terms of the Mozilla Public
|
|
# License, v. 2.0. If a copy of the MPL was not distributed with this
|
|
# file, You can obtain one at http://mozilla.org/MPL/2.0/.
|
|
|
|
# Build without any warning flags, and with clang verify flag for a
|
|
# syntax-only build (no codegen), without a limit on the number of errors.
|
|
OS_CFLAGS := $(filter-out -W%,$(OS_CFLAGS)) -fsyntax-only -Xclang -verify -ferror-limit=0 -std=c11
|
|
OS_CXXFLAGS := $(filter-out -W%,$(OS_CXXFLAGS)) -fsyntax-only -Xclang -verify -ferror-limit=0
|
|
|
|
include $(topsrcdir)/config/rules.mk
|
|
|
|
export:: $(OBJS)
|
|
|
|
# We don't actually build anything.
|
|
.PHONY: $(OBJS)
|