1
0
mirror of https://github.com/deadw00d/AROS.git synced 2026-03-16 22:08:37 +00:00

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

View File

@ -1,6 +1,6 @@
/*
Copyright <20> 1995-2017, The AROS Development Team. All rights reserved.
Copyright <20> 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)