X-Git-Url: https://pd.if.org/git/?p=pdclib;a=blobdiff_plain;f=platform%2Fexample%2FConfig.jam;h=414111b16a601734d6589f2df8ef36a4a2ca3e36;hp=7871eb893745328838e659ce174da0b83e43a097;hb=b5d36b0dfa121d20e9056cfbca097e3aab488bab;hpb=1cc4363093c919f79eafac209bb5c41548d3f88f diff --git a/platform/example/Config.jam b/platform/example/Config.jam index 7871eb8..414111b 100644 --- a/platform/example/Config.jam +++ b/platform/example/Config.jam @@ -1,10 +1,14 @@ -rule PDCLibTargetConfig { } -rule PDCLibTargetHeaders { - SubDirHdrs $(PDCLIB_TOP) platform example includes ; - SubDirHdrs $(PDCLIB_TOP) platform example internals ; -} - -PDCLIB_TEST_LINKFLAGS += -nostdlib ; -PDCLIB_TEST_LINKLIBS += -lgcc ; - -PDCLIB_OPTIONS = nothread notime dlmalloc ; \ No newline at end of file +rule PDCLibTargetConfig { } +rule PDCLibTargetHeaders { + SubDirHdrs $(PDCLIB_TOP) platform example includes ; + SubDirHdrs $(PDCLIB_TOP) platform example internals ; +} + +if $(PDCLIB_TOOLCHAIN) = "gcc" { + PDCLIB_TEST_LINKFLAGS += -nostdlib ; + PDCLIB_TEST_LINKLIBS += -lgcc ; +} + +PDCLIB_OPTIONS = + nothread + ;