Mark DOSBase as weak

With patches forcing -fno-common, there are linking conflicts
with code that manually opens dos.library and contains local
definitions of DOSBase (see test/intuition/screentest.c)
This commit is contained in:
deadwood 2020-04-26 21:28:52 +02:00
parent 4b16887eac
commit bd033c09ca
1 changed files with 2 additions and 2 deletions

View File

@ -1,6 +1,6 @@
/*
Copyright © 1995-2017, The AROS Development Team. All rights reserved.
Copyright © 1995-2020, The AROS Development Team. All rights reserved.
$Id$
Desc: Common startup code
@ -19,7 +19,7 @@
#include <aros/symbolsets.h>
#include <aros/startup.h>
struct DosLibrary *DOSBase;
struct DosLibrary *DOSBase __attribute__((weak));
extern const LONG __aros_libreq_DOSBase __attribute__((weak));
THIS_PROGRAM_HANDLES_SYMBOLSET(PROGRAM_ENTRIES)