diff options
Diffstat (limited to 'apps')
-rw-r--r-- | apps/import/Make.defs | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/apps/import/Make.defs b/apps/import/Make.defs index 056d9b7fe..e2705f372 100644 --- a/apps/import/Make.defs +++ b/apps/import/Make.defs @@ -163,10 +163,13 @@ else ARCHCRT0OBJ = $(TOPDIR)$(DELIM)startup$(DELIM)crt0$(OBJEXT) endif -CFLAGS = $(ARCHCFLAGS) $(ARCHWARNINGS) $(ARCHOPTIMIZATION) $(ARCHCPUFLAGS) $(ARCHINCLUDES) $(ARCHDEFINES) $(EXTRADEFINES) -pipe +ARCHCFLAGS += -fno-common -pipe +ARCHCXXFLAGS += -fno-common -pipe + +CFLAGS = $(ARCHCFLAGS) $(ARCHWARNINGS) $(ARCHOPTIMIZATION) $(ARCHCPUFLAGS) $(ARCHINCLUDES) $(ARCHDEFINES) $(EXTRADEFINES) CPICFLAGS = $(ARCHPICFLAGS) $(CFLAGS) -CXXFLAGS = $(ARCHCXXFLAGS) $(ARCHWARNINGSXX) $(ARCHOPTIMIZATION) $(ARCHXXINCLUDES) $(ARCHDEFINES) $(EXTRADEFINES) -pipe +CXXFLAGS = $(ARCHCXXFLAGS) $(ARCHWARNINGSXX) $(ARCHOPTIMIZATION) $(ARCHXXINCLUDES) $(ARCHDEFINES) $(EXTRADEFINES) CXXPICFLAGS = $(ARCHPICFLAGS) $(CXXFLAGS) # ELF module definitions |